FS_CLI and Log levels -sofia help cant stop unwanted log lines
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@64.136.174.30 [BREAK] 2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:362 (sofia/external_noauth/14436046159@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@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@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@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@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@64.136.174.30 [BREAK] What am I missing? Thanks in advance, Sean
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 On Fri, Mar 9, 2012 at 5:46 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
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@64.136.174.30 [BREAK]****
2012-03-08 14:34:28.132435 [DEBUG] switch_core_state_machine.c:362 (sofia/external_noauth/14436046159@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@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@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@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@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@64.136.174.30 [BREAK]****
** **
What am I missing?****
** **
Thanks in advance,****
Sean****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Avi Marcus
-
Sean Devoy