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

Michael Collins msc at freeswitch.org
Mon Nov 14 20:20:02 MSK 2011


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111114/f06f2ee3/attachment.html 


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