VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
odermann at googlemail... Guest
|
Posted: Mon May 25, 2009 10:20 am Post subject: [Freeswitch-users] How to work with the debug logfile? |
|
|
hi,
we encounter some small problems withing the past 2 days and we are
trying to find out more about the problems. for this we downloaded the
debug logfiles written by fs, but we do not manage to filter all
log-entries for one single special call.
we are using socket outbound and would like to see all entries
(inbound/outbound) of one call.
is this possible?
kind regards
dennis
_______________________________________________
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 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue May 26, 2009 1:27 pm Post subject: [Freeswitch-users] How to work with the debug logfile? |
|
|
On Mon, May 25, 2009 at 8:19 AM, Dennis <odermann@googlemail.com (odermann@googlemail.com)> wrote:
Quote: | hi,
we encounter some small problems withing the past 2 days and we are
trying to find out more about the problems. for this we downloaded the
debug logfiles written by fs, but we do not manage to filter all
log-entries for one single special call.
we are using socket outbound and would like to see all entries
(inbound/outbound) of one call.
is this possible?
kind regards
dennis
|
This isn't the easiest thing to do but it is possible. In the past I've used a combination of uuid and channel name with grep. Also, I recommend rotating log files using "fsctl send_sighup" which helps keep you from getting a 10GB freeswitch.log file. The first thing I do is find the call's uuid, either by manually searching through the log file or by using a CDR. (Use whichever works best for you.) Then use grep to find all the line numbers for that particular uuid. Here's a sample from my Mac where I used portaudio to call the main conference line:
grep -n b1f9e5ce-29a6-497a-a628-71f1bdefa0cb freeswitch.log
<output snipped>
In this case I found out my channel name is "portaudio/sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])" so I grep for it:
grep "portaudio/sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])" freeswitch.log
<output snipped>
It's not perfect but it helps narrow down your call.
-MC |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|