Thanks MC, it works as you said, thanks.

2011/10/31 Michael Collins <msc@freeswitch.org>
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@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@internal> fsctl loglevel alert
+OK log level: ALERT [1]

freeswitch@internal>

inside freeswitch.log
...

2011-10-29 10:44:02.496776 [DEBUG] switch_core_state_machine.c:464
(sofia/internal/13580358068@124.193.106.104) Callstate Change HANGUP
-> DOWN



2011/10/28, Steven Ayre <steveayre@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@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@lists.freeswitch.org
>> [mailto:freeswitch-users-bounces@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@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@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@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