[Freeswitch-users] Log level of log file by fs_cli
Michael Collins
msc at freeswitch.org
Mon Oct 31 18:22:59 MSK 2011
Fieldpeak,
Looks like you just confirmed what Steven A. said. Try his suggestion re:
"fsctl loglevel xxx" from within fs_cli and see what you get.
-MC
On Fri, Oct 28, 2011 at 7:51 PM, fieldpeak <fieldpeak at gmail.com> wrote:
> Hi Steven,
>
> i tried below cmd, and then make a call, inside the the log file,
> there is still 'DEBUG' level message logged. very strange...
>
> freeswitch at internal> fsctl loglevel alert
> +OK log level: ALERT [1]
>
> freeswitch at internal>
>
> inside freeswitch.log
> ...
>
> 2011-10-29 10:44:02.496776 [DEBUG] switch_core_state_machine.c:464
> (sofia/internal/13580358068 at 124.193.106.104) Callstate Change HANGUP
> -> DOWN
>
>
>
> 2011/10/28, Steven Ayre <steveayre at gmail.com>:
> > Peter, that affects only the logging level of your fs_cli session - not
> the
> > log file.
> >
> > Fran, use the fsctl command from the cli. It's in mod_commands and
> > documented on the wiki.
> >
> > Eg:
> > fsctl loglevel
> > - shows current level
> > fsctl loglevel debug
> > - set to debug
> >
> > Steve on iPhone
> >
> > On 28 Oct 2011, at 11:09, Peter Olsson <peter.olsson at visionutveckling.se
> >
> > wrote:
> >
> >> Just enter ”/log [loglevel]” inside fs_cli. I think there is a startup
> >> parameter as well.
> >>
> >> /Peter
> >>
> >> Från: freeswitch-users-bounces at lists.freeswitch.org
> >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] För fieldpeak
> >> Skickat: den 28 oktober 2011 10:50
> >> Till: FreeSWITCH-users
> >> Ämne: [Freeswitch-users] Log level of log file by fs_cli
> >>
> >> Hi friends,
> >>
> >> i know we can set the loglevel inside switch.conf.xml to change the log
> >> level of log files,
> >>
> >> however, i would like to change the log level of log files thru fs_cli
> on
> >> the fly(no need restart FS), is there any commands to support it,
> thanks.
> >>
> >> --
> >> Regards,
> >> Charles
> >>
> >> !DSPAM:4eaa6d4932761466214554!
> >>
> >> 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
> >
>
>
> --
> Regards,
> Charles
>
>
> 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/20111031/2696ee33/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list