[Freeswitch-users] FreeSWITCH log question

Peter Olsson peter.olsson at visionutveckling.se
Wed Oct 24 14:46:57 MSD 2012


I believe there is a start parameter for fs_cli to set the loglevel. IIRC it's called "--loglevel"

/Peter

-----Ursprungligt meddelande-----
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För ??????? ???????
Skickat: den 24 oktober 2012 11:44
Till: freeswitch-users at lists.freeswitch.org
Ämne: [Freeswitch-users] FreeSWITCH log question

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?

--
Best regards,
Vitaly.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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

!DSPAM:5087b5f032769908896080!




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