separate log files
Hi! Faced with the issue. I need to save detailed log for each call in separate txt file. Have any ideas about it? Will be very appreciate for some easy sollution. In any case thanks for any help! -- Best Regards Tel: +38 068 252 13 76 Skype: NewAndy3
mod_xml_cdr and mod_json_cdr both have 1 file per call leg, with LOTS of information for you. If you want the standard freeswitch.log, you can turn on uuid debugging (instructions here<http://wiki.freeswitch.org/wiki/Debugging_Freeswitch#UUID_Stamp_at_each_DEBUG_line>) and can then grep for the uuid you need. Perhaps logstash or some other system could split that automatically for you... Let us know. -Avi On Tue, Feb 4, 2014 at 1:05 PM, Andy Kliman' <andatra@gmail.com> wrote:
Hi! Faced with the issue. I need to save detailed log for each call in separate txt file. Have any ideas about it?
Will be very appreciate for some easy sollution. In any case thanks for any help!
-- Best Regards Tel: +38 068 252 13 76 Skype: NewAndy3
_________________________________________________________________________ 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
logfile.conf.xml: <param name="uuid" value="true”/> This will totally get you most where you wish to go, Secondly you’ll want to load mod_xml_cdr… It will give you a complete postmortem of the call in great detail. Its handy when you’re debugging. Setup a cronjob to nuke anything over X days old as to not fill up your disk. Slurp up the XML with your favorite language and walk thru the data picking out information you can alert or dissect further, You can also follow each UUID and re-construct the entire call in great detail using this method. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Feb 4, 2014, at 5:05 AM, Andy Kliman' <andatra@gmail.com> wrote:
Hi! Faced with the issue. I need to save detailed log for each call in separate txt file. Have any ideas about it?
Will be very appreciate for some easy sollution. In any case thanks for any help!
-- Best Regards Tel: +38 068 252 13 76 Skype: NewAndy3
participants (3)
-
Andy Kliman'
-
Avi Marcus
-
Brian West