[Freeswitch-users] FreeSWITCH log question

Evgeniy Movlyan evgeniy at bestnet.kharkov.ua
Wed Oct 24 16:37:47 MSD 2012


mod_logfile is responsible for storing and rotating log files and
mod_console just lets the user control the console messages. Variables 
in switch.conf.xml are global.

24.10.2012 14:30, Виталий Давудов пишет:
> Evgeniy, thanks a lot! I think it's help me.
>
> But still I am concerned about the question: why should there be modules
> mod_console and mod_logfile, if loglevel is covered in the switch.conf.xml?
>
>
> 24.10.2012 14:59, Evgeniy Movlyan пишет:
>> See this:
>> http://wiki.freeswitch.org/wiki/Fs_cli#Configuration_Options
>>
>> 24.10.2012 12:44, Виталий Давудов пишет:
>>> Hi, list!
>>> I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6
>>> (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z).
>>> I decide to decrease console log level. To achieve this goal I edited
>>> console.conf.xml file and replace some string:
>>> from
>>> <mappings>
>>> <map name="all"
>>> value="console,debug,info,notice,warning,err,crit,alert"/>
>>> </mappings>
>>> <settings>
>>> <param name="loglevel" value="info"/>
>>> </settings>
>>> to
>>> <mappings>
>>> <map name="all" value="err,crit,alert"/>
>>> </mappings>
>>> <settings>
>>> <param name="loglevel" value="err"/>
>>> </settings>
>>> and then restart freeswitch
>>> But when I run fs_cli there still present debug, info, etc, messages.
>>> Console log level decreased only after I changed in swintch.conf.xml
>>> file loglevel param from debug to err - this method is not suited to me
>>> because it decrease log level in freeswitch.log too.
>>>
>>> How can I properly tune FS to achive my goal?
>>>
>

-- 
Evgeniy Movlyan,
BestNet Ltd.



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list