[Freeswitch-users] Difference between log in fs_cli and written to file
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
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
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users