[Freeswitch-users] Difference between log in fs_cli and written to file

Steven Ayre steveayre at gmail.com
Sat Oct 31 13:15:02 MSK 2015


The switch.conf.xml setting controls a filter in the core that affects all
logging. You can adjust it at runtime with the fsctl API.

The logging level to freeswitch.log is controlled through the <mappings>
section, which doesn't seem to be documented on Confluence or the old Wiki
yet. Look at conf/vanilla/autoload_configs/console.conf.xml in the git repo
for a description of those settings. Essentially you list the levels to log
in the 'all' mapping in most use cases.

fs_cli picks it's own loglevel by either through an argument or the /log
command.

-Steve


On 30 October 2015 at 13:18, Michael Nielsen <mic.niel84 at gmail.com> wrote:

> Can I have different levels of log level in fs_cli and in freeswitch.log?
>
> I would like to only have error level in freeswitch.log, and debug level
> in fs_cli.
>
> Changing <param name="loglevel" value="debug"/> in switch.conf.xml
> changes everything - it seems.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20151031/081af2f7/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list