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

Vidan vidan at centrum.cz
Mon Nov 14 19:50:38 MSK 2011


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



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