Can't syslog do that? See: http://wiki.freeswitch.org/wiki/Mod_syslog François. On Tue, 2011-12-13 at 19:10 +0530, arnuld@Phonologies.com wrote:
Currently FreeSWITCH logs to files on disk and you can customize the behavior a bit using logfile.conf.xml.
I am working on a project where I need to direct FreeSWITCH to write logs to a socket (like a TCP client). I have written a TCP Server listening for logs on a particular socket. I thought I will change the source code of freeswitch/src/switch_log.c and will add TCP client code to it, then recomplile it.
Is there any better way ?
_________________________________________________________________________ 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