Thanks Michael!I added this as line 1057 in mod_xml_rpc.cswitch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Executed HTTP request command: %s. Args: %s.\n", command, api_str);Could someone review it and check it into the repo?On Fri, Sep 12, 2014 at 1:33 PM, Michael Jerris <mike@jerris.com> wrote:I suspect it requires a 1 line code change to the mod_xml_rpc.c to log before executing. It would be somewhere right around mod_xml_rpc.c line 1056 (which is the line that actually executes the command).
_________________________________________________________________________
On Sep 11, 2014, at 7:21 PM, Oleg Stolyar <olegstolyar@gmail.com> wrote:
> Guys,
>
> is there a way to log cli commands that are being executed? More specifically I use the txtapi command from the xml_rpc module and need to be able to see when FreeSWITCH received and executed each command with argument. Is it doable already or would it require a code change?
>
> I already have this in my logfile.conf.xml
> <map name="all" value="debug,info,notice,warning,err,crit,alert"/>
>
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org