13 Dec
2011
13 Dec
'11
1:40 p.m.
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 ?