Not seeing WARNING and ERROR messages in log
I am not seeing SWITCH_LOG_ERROR or SWITCH_LOG_WARNING msgs from sofia_presence.c in the log, though loglevel is set to "debug" and "debug-presence" is set to 10. I do see INFO, NOTICE, and DEBUG messages. Is there something else to set? or do messages at these levels go somewhere different? Carolyn
Have you set the console log level accordingly? You have to set it to debug like this: console loglevel debug You might also have the loglevel capped so you must issue this command: fsctl loglevel debug I hope that helps. João Mesquita On Wed, Oct 20, 2010 at 10:16 AM, Beeton, Carolyn (Carolyn) < cbeeton@avaya.com> wrote:
I am not seeing SWITCH_LOG_ERROR or SWITCH_LOG_WARNING msgs from sofia_presence.c in the log, though loglevel is set to "debug" and "debug-presence" is set to 10. I do see INFO, NOTICE, and DEBUG messages. Is there something else to set? or do messages at these levels go somewhere different?
Carolyn
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
My switch.conf.xml file has <param name="loglevel" value="debug"/>. The funny thing is that I see the low level debugs (NOTICE and INFO and DEBUG) but not the higher level ones (WARNING and ERROR). I would think if anything it should be the other way around. I have to keep poking in the code to change SWITCH_LOG_WARNING to SWITCH_LOG_NOTICE so that I can see what's going on! Carolyn ________________________________ From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of João Mesquita Sent: Wednesday, October 20, 2010 11:36 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Not seeing WARNING and ERROR messages in log Have you set the console log level accordingly? You have to set it to debug like this: console loglevel debug You might also have the loglevel capped so you must issue this command: fsctl loglevel debug I hope that helps. João Mesquita On Wed, Oct 20, 2010 at 10:16 AM, Beeton, Carolyn (Carolyn) <cbeeton@avaya.com<mailto:cbeeton@avaya.com>> wrote: I am not seeing SWITCH_LOG_ERROR or SWITCH_LOG_WARNING msgs from sofia_presence.c in the log, though loglevel is set to "debug" and "debug-presence" is set to 10. I do see INFO, NOTICE, and DEBUG messages. Is there something else to set? or do messages at these levels go somewhere different? Carolyn _______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org<mailto:FreeSWITCH-dev@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Perhaps there's no error to display? Steve on iPhone On 20 Oct 2010, at 20:51, "Beeton, Carolyn (Carolyn)" <cbeeton@avaya.com> wrote:
My switch.conf.xml file has <param name="loglevel" value="debug"/>.
The funny thing is that I see the low level debugs (NOTICE and INFO and DEBUG) but not the higher level ones (WARNING and ERROR). I would think if anything it should be the other way around. I have to keep poking in the code to change SWITCH_LOG_WARNING to SWITCH_LOG_NOTICE so that I can see what's going on!
Carolyn
From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of João Mesquita Sent: Wednesday, October 20, 2010 11:36 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Not seeing WARNING and ERROR messages in log
Have you set the console log level accordingly?
You have to set it to debug like this: console loglevel debug
You might also have the loglevel capped so you must issue this command: fsctl loglevel debug
I hope that helps. João Mesquita
On Wed, Oct 20, 2010 at 10:16 AM, Beeton, Carolyn (Carolyn) <cbeeton@avaya.com> wrote: I am not seeing SWITCH_LOG_ERROR or SWITCH_LOG_WARNING msgs from sofia_presence.c in the log, though loglevel is set to "debug" and "debug-presence" is set to 10. I do see INFO, NOTICE, and DEBUG messages. Is there something else to set? or do messages at these levels go somewhere different?
Carolyn
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (3)
-
Beeton, Carolyn (Carolyn)
-
João Mesquita
-
Steven Ayre