[Freeswitch-users] SIP Trace Option at Runtime
Mathieu Rene
mrene_lists at avgs.ca
Wed Jul 15 09:15:42 PDT 2009
Thats the global loglevel.... here's a summary of how logging works:
When a log message is issued, FS checks the global level (fsctl
loglevel xxx, or the one in switch.conf.xml) and discards anything
less important than this loglevel.
Once this is passed, the module which you use control FS will filter
the logs it displays for you. This can be mod_console,
mod_event_socket (for fs_cli), and even mod_logfile.
It is clear that most messages wont make it to your screen if your
global loglevel is at error. Change your switch.conf.xml level to
debug and then you'll see them.
Pressing F8 only control whatever you are using to connect to FS, not
the global level.
Let me know if that makes any sense to you, and if it does, a little
documentation on the wiki could be of great use.
Regards,,
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca
Am 15-Jul-09 um 12:08 PM schrieb Saeed Ahmad:
> switch.conf.xml
>
>
> On Wed, Jul 15, 2009 at 6:06 PM, Brian West <brian at freeswitch.org>
> wrote:
> where are you setting the loglevel to err at?
>
> /b
>
> On Jul 15, 2009, at 11:03 AM, Saeed Ahmad wrote:
>
> > and how can we do the same for console message?
> >
> > I noticed that if
> >
> > <param name="loglevel" value="err"/>
> >
> > then even we press F8 on cli then it won't turn on the log message,
> > is there anyway to enable them even loglevel is set to 'err'
> >
> > - Saeed
> >
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090715/09908ba1/attachment-0001.html
More information about the FreeSWITCH-users
mailing list