[Freeswitch-users] Howto set only one console debug level messages in fs_cli

Anthony Minessale anthony.minessale at gmail.com
Tue Nov 15 19:33:47 MSK 2011


When you set the default level it will show everything above that level.

Try these commands:

>console loglevel info

will only show info and console levels

>console loglevel err

will only show error and warning and console





On Mon, Nov 14, 2011 at 11:20 AM, Michael Collins <msc at freeswitch.org>wrote:

> Hi Vidan,
>
> I recommend you look in conf/autoload_configs/console.conf.xml. You can
> look at the sample mappings that are commented out. About the best you can
> do is to specify the log levels for the various files that you need. I know
> it's hard, but it's all the control that is available at the moment.
>
> -MC
>
>
> On Mon, Nov 14, 2011 at 8:50 AM, Vidan <vidan at centrum.cz> wrote:
>
>>
>> Hi,
>> I am newbie on FreeSwitch,
>> I would like show only the INFO(6) messages in fs_cli console, not any
>> others (err, warning etc.).  I am tried to modify switch.conf.xml, var.xml
>> and console.conf.xml and switch.conf.xml. I see alway all type of messages
>> until defined console loglevel value. <map name="all" value="info"/> works
>> fine only in logfile.conf.xml. The same line does not work in my case in
>> console.conf.xml for fs_cli.
>> For example I will set "ERR" (3) and I will see on Fs_cli "CONSOLE"
>> (0)+"ALERT" (1)+"CRIT" (2) messages. Is it possible to set on screen only
>> one messages layer in fsi_cli? How is it possible to do that?
>>
>> I am doing this because alway I had full screen with this:
>>
>> 011-11-14 16:39:22.230114 [WARNING] ftmod_wanpipe.c:917 [s1c1][1:1] Rx
>> Queue length exceeded 80% hreshold (9/10)
>> 2011-11-14 16:39:22.230114 [WARNING] ftmod_wanpipe.c:917 [s1c1][1:1] Rx
>> Queue length exceeded 80% hreshold (8/10)
>> 2011-11-14 16:39:24.610115 [WARNING] ftmod_wanpipe.c:864 [s3c1][3:1] Tx
>> idle changed from 250 to 294
>> 2011-11-14 16:39:24.630115 [WARNING] ftmod_wanpipe.c:864 [s3c1][3:1] Tx
>> idle changed from 38 to 294
>> 2011-11-14 16:39:24.650130 [WARNING] ftmod_wanpipe.c:864 [s3c1][3:1] Tx
>> idle changed from 38 to 294
>> 2011-11-14 16:39:24.670115 [WARNING] ftmod_wanpipe.c:864 [s3c1][3:1] Tx
>> idle changed from 38 to 294
>> 2011-11-14 16:39:24.690126 [WARNING] ftmod_wanpipe.c:864 [s3c1][3:1] Tx
>> idle changed from 38 to 294
>> 2011-11-14 16:39:24.710144 [WARNING] ftmod_wanpipe.c:864 [s3c1][3:1] Tx
>> idle changed from 38 to 294
>> 2011-11-14 16:39:24.730125 [WARNING] ftmod_wanpipe.c:864 [s3c1][3:1] Tx
>> idle changed from 38 to 294
>>
>> and I need only notice and info messages from isdn.
>>
>> Thank you for answer.
>> Best Regard,
>> Vit
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111115/f0fcb229/attachment.html 


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