[Freeswitch-users] Setting loglevel to warning removes log in fs_cli
Ken Rice
krice at freeswitch.org
Fri Oct 2 19:07:14 MSD 2015
Switch.conf.xml sets the loglevel for the core logger… if you set it to something other than debug then messages that are of a level higher than what you set it to are dropped.
This can be adjusted with fsctl loglevel in fscli.
There are also console and logfile logging levels. These are output specific filters…
Set the one that’s appropriate for what you are trying to do
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Nielsen
Sent: Friday, October 2, 2015 7:56 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Setting loglevel to warning removes log in fs_cli
I've set
<param name="loglevel" value="warning"/>
in switch.conf.xml.
This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH.
How can I easily change debug/log level from fs_cli?
I've tried /debug and /log, without any luck.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151002/f99b1ac8/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list