Discussion:
[Freeswitch-users] FS_CLI and Log levels -sofia help cant stop unwanted log lines
Sean Devoy
2012-03-09 03:46:49 UTC
Permalink
Hi,



I must be missing some commands to filter down the messages displayed when I
run fs_cli. I have tried (with some success):

Console loglevel n (n = 1, 2, 3 helps very little)

Sofia loglevel all n does not appear to have any affect.



Sofia global siptrace on and "off" do what I expected!!!!



I still get reams of log lines when any call comes in or goes out.



Samples:

2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1180 Send signal
sofia/external_noauth/14436046159 at 64.136.174.30 [BREAK]

2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:362
(sofia/external_noauth/14436046159 at 64.136.174.30) Running State Change
CS_REPORTING

2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:662
(sofia/external_noauth/14436046159 at 64.136.174.30) State REPORTING

2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:387
(sofia/external/240) State Change CS_REPORTING -> CS_DESTROY

2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1180 Send signal
sofia/external/240 [BREAK]

2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1380 Session 403
(sofia/external/240) Locked, Waiting on external entities

2012-03-08 14:34:28.132435 [NOTICE] switch_core_session.c:1398 Session 403
(sofia/external/240) Ended

2012-03-08 14:34:28.132435 [NOTICE] switch_core_session.c:1400 Close Channel
sofia/external/240 [CS_DESTROY]

2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:79
sofia/external_noauth/14436046159 at 64.136.174.30 Standard REPORTING, cause:
NORMAL_CLEARING

2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:662
(sofia/external_noauth/14436046159 at 64.136.174.30) State REPORTING going to
sleep

2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:491
(sofia/external/240) Callstate Change HANGUP -> DOWN

2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:387
(sofia/external_noauth/14436046159 at 64.136.174.30) State Change CS_REPORTING
-> CS_DESTROY

2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1180 Send signal
sofia/external_noauth/14436046159 at 64.136.174.30 [BREAK]



What am I missing?



Thanks in advance,

Sean

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120308/9b9261cb/attachment-0001.html
Avi Marcus
2012-03-09 07:28:28 UTC
Permalink
Try F8 which is "/log debug" or "/log 7".

(This has to be in the fs_cli, not the actual freeswitch binary. Run FS
with -nc for "no console" and then launch the fs_cli)

-Avi
Hi,****
** **
I must be missing some commands to filter down the messages displayed when
I run fs_cli. I have tried (with some success):****
Console loglevel n (n = 1, 2, 3 helps very little)***
*
Sofia loglevel all n does not appear to have any affect.
****
** **
Sofia global siptrace on and ?off? do what I expected!!!!****
** **
I still get reams of log lines when any call comes in or goes out. ****
** **
Samples:****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1180 Send signal
sofia/external_noauth/14436046159 at 64.136.174.30 [BREAK]****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:362
(sofia/external_noauth/14436046159 at 64.136.174.30) Running State Change
CS_REPORTING****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:662
(sofia/external_noauth/14436046159 at 64.136.174.30) State REPORTING****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:387
(sofia/external/240) State Change CS_REPORTING -> CS_DESTROY****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1180 Send signal
sofia/external/240 [BREAK]****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1380 Session 403
(sofia/external/240) Locked, Waiting on external entities****
2012-03-08 14:34:28.132435 [NOTICE] switch_core_session.c:1398 Session 403
(sofia/external/240) Ended****
2012-03-08 14:34:28.132435 [NOTICE] switch_core_session.c:1400 Close
Channel sofia/external/240 [CS_DESTROY]****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:79
sofia/external_noauth/14436046159 at 64.136.174.30 Standard REPORTING,
cause: NORMAL_CLEARING****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:662
(sofia/external_noauth/14436046159 at 64.136.174.30) State REPORTING going
to sleep****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:491
(sofia/external/240) Callstate Change HANGUP -> DOWN****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:387
(sofia/external_noauth/14436046159 at 64.136.174.30) State Change
CS_REPORTING -> CS_DESTROY****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_session.c:1180 Send signal
sofia/external_noauth/14436046159 at 64.136.174.30 [BREAK]****
** **
What am I missing?****
** **
Thanks in advance,****
Sean****
_________________________________________________________________________
consulting at freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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/20120309/e78771f2/attachment-0001.html
Loading...