Hello, I am troubleshooting and issue with my FS server. I would like to echo some text to the console for troubleshooting purpose. How can I do that? I have added the following line right below <include> and it does not show up in the console or in the log file. That is the correct log file location. <X-PRE-PROCESS cmd="exec" data="echo ----------------------------this is a test------------------------------------------ >> /usr/local/freeswitch/log/freeswitch.log"/> Thanks,
Try the builtin log application and remember to set your logging level to DEBUG. http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_log But if you're resolute on echoing to your own logfile use the event app: <action application="event" data="${system(/bin/echo ohai >> /tmp/log_file)}"/> HTH! Peter Hartmann Hartmann Computer Consulting http://blog.hartmanncomputer.com On Fri, Dec 6, 2013 at 4:16 PM, Joli Martinez <mrjoli021@gmail.com> wrote:
Hello,
I am troubleshooting and issue with my FS server. I would like to echo some text to the console for troubleshooting purpose. How can I do that?
I have added the following line right below <include> and it does not show up in the console or in the log file. That is the correct log file location. <X-PRE-PROCESS cmd="exec" data="echo ----------------------------this is a test------------------------------------------ >> /usr/local/freeswitch/log/freeswitch.log"/>
Thanks, _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
participants (2)
-
Joli Martinez
-
Peter Hartmann