Setting loglevel to warning removes log in fs_cli
I've set <param name="loglevel" value="warning"/> in switch.conf.xml. This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH. How can I easily change debug/log level from fs_cli? I've tried /debug and /log, without any luck.
did you try: /log 7 On 10/02/2015 02:55 PM, Michael Nielsen wrote:
I've set
<paramname="loglevel" value="warning"/>
in switch.conf.xml.
This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH.
How can I easily change debug/log level from fs_cli?
I've tried /debug and /log, without any luck.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Saludos / Regards / Cumprimentos, *António Silva* *e-Mail:* asilva@wirelessmundi.com <mailto:asilva@wirelessmundi.com> / *Tel.:* (+34) 912160930 <tel:+34912160930> / *SKYPE:* wm_asilva <skype:wm_asilva> Wireless Mundi <www.wirelessmundi.com>
From fs_cli, "fsctl loglevel 7" changes what FreeSWITCH itself is logging, while "console loglevel 7" changes what you see.
What FreeSWITCH is logging (eg, on logfile) can be more than what you see in console (or in fs_cli) but it cannot obviously be more. sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 02/Ott/2015 15:20, "Antonio Silva" <asilva@wirelessmundi.com> ha scritto:
did you try: /log 7
On 10/02/2015 02:55 PM, Michael Nielsen wrote:
I've set
<param name="loglevel" value="warning"/>
in switch.conf.xml.
This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH.
How can I easily change debug/log level from fs_cli?
I've tried /debug and /log, without any luck.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
--
Saludos / Regards / Cumprimentos, *António Silva* *e-Mail:* asilva@wirelessmundi.com / *Tel.:* (+34) 912160930 <+34912160930> / *SKYPE:* wm_asilva [image: Wireless Mundi] <http://www.wirelessmundi.com>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Il 02/Ott/2015 15:25, gmaruzz@gmail.com ha scritto:
From fs_cli, "fsctl loglevel 7" changes what FreeSWITCH itself is
logging, while "console loglevel 7" changes what you see.
What FreeSWITCH is logging (eg, on logfile) can be more than what you see
in console (or in fs_cli) but it cannot obviously be more. But it cannot obviously be less. Eg: if you set fsctl loglevel 7, then you can see debug in console with console loglevel 7. If FS is not logging at level 7, because you set fsctl loglevel 6, then you have no debug in console, notwithstanding you set console loglevel 7
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18
Il 02/Ott/2015 15:20, "Antonio Silva" <asilva@wirelessmundi.com> ha
scritto:
did you try: /log 7
On 10/02/2015 02:55 PM, Michael Nielsen wrote:
I've set
<param name="loglevel" value="warning"/>
in switch.conf.xml.
This removes a lot of output from the fs_cli. But if I want to try and
log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH.
How can I easily change debug/log level from fs_cli?
I've tried /debug and /log, without any luck.
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
--
Saludos / Regards / Cumprimentos, António Silva e-Mail: asilva@wirelessmundi.com / Tel.: (+34) 912160930 / SKYPE: wm_asilva
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18
Running this: console loglevel 7 +OK log level 7 [7] +OK console log level set to DEBUG freeswitch@internal> /log 7 +OK log level 7 [7] freeswitch@internal> still doesn't show anything in fs_cli when making calls. On Fri, Oct 2, 2015 at 3:27 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
From fs_cli, "fsctl loglevel 7" changes what FreeSWITCH itself is logging, while "console loglevel 7" changes what you see.
What FreeSWITCH is logging (eg, on logfile) can be more than what you see in console (or in fs_cli) but it cannot obviously be more.
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 02/Ott/2015 15:20, "Antonio Silva" <asilva@wirelessmundi.com> ha scritto:
did you try: /log 7
On 10/02/2015 02:55 PM, Michael Nielsen wrote:
I've set
<param name="loglevel" value="warning"/>
in switch.conf.xml.
This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH.
How can I easily change debug/log level from fs_cli?
I've tried /debug and /log, without any luck.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
--
Saludos / Regards / Cumprimentos, *António Silva* *e-Mail:* asilva@wirelessmundi.com / *Tel.:* (+34) 912160930 <+34912160930> / *SKYPE:* wm_asilva [image: Wireless Mundi] <http://www.wirelessmundi.com>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
If you set loglevel in switch.conf.xml you are permanently deactivating any level above that. You should leave the one alone in switch.conf.xml and only change the one in the console.conf.xml On Fri, Oct 2, 2015 at 9:06 AM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Running this:
console loglevel 7
+OK log level 7 [7]
+OK console log level set to DEBUG
freeswitch@internal> /log 7
+OK log level 7 [7]
freeswitch@internal>
still doesn't show anything in fs_cli when making calls.
On Fri, Oct 2, 2015 at 3:27 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
From fs_cli, "fsctl loglevel 7" changes what FreeSWITCH itself is logging, while "console loglevel 7" changes what you see.
What FreeSWITCH is logging (eg, on logfile) can be more than what you see in console (or in fs_cli) but it cannot obviously be more.
sent from my mobile, Giovanni Maruzzelli cell: +39 347 266 56 18 Il 02/Ott/2015 15:20, "Antonio Silva" <asilva@wirelessmundi.com> ha scritto:
did you try: /log 7
On 10/02/2015 02:55 PM, Michael Nielsen wrote:
I've set
<param name="loglevel" value="warning"/>
in switch.conf.xml.
This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH.
How can I easily change debug/log level from fs_cli?
I've tried /debug and /log, without any luck.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
--
Saludos / Regards / Cumprimentos, *António Silva* *e-Mail:* asilva@wirelessmundi.com / *Tel.:* (+34) 912160930 <+34912160930> / *SKYPE:* wm_asilva [image: Wireless Mundi] <http://www.wirelessmundi.com>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
Switch.conf.xml sets the loglevel for the core logger… if you set it to something other than debug then messages that are of a level higher than what you set it to are dropped. This can be adjusted with fsctl loglevel in fscli. There are also console and logfile logging levels. These are output specific filters… Set the one that’s appropriate for what you are trying to do From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Nielsen Sent: Friday, October 2, 2015 7:56 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Setting loglevel to warning removes log in fs_cli I've set <param name="loglevel" value="warning"/> in switch.conf.xml. This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH. How can I easily change debug/log level from fs_cli? I've tried /debug and /log, without any luck.
That worked, thank you :) On Fri, Oct 2, 2015 at 5:07 PM, Ken Rice <krice@freeswitch.org> wrote:
Switch.conf.xml sets the loglevel for the core logger… if you set it to something other than debug then messages that are of a level higher than what you set it to are dropped.
This can be adjusted with fsctl loglevel in fscli.
There are also console and logfile logging levels. These are output specific filters…
Set the one that’s appropriate for what you are trying to do
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Nielsen *Sent:* Friday, October 2, 2015 7:56 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] Setting loglevel to warning removes log in fs_cli
I've set
<param name="loglevel" value="warning"/>
in switch.conf.xml.
This removes a lot of output from the fs_cli. But if I want to try and log things to debug I'm not able to from fs_cli, I need to change the setting in switch.conf.xml and restart FreeSWITCH.
How can I easily change debug/log level from fs_cli?
I've tried /debug and /log, without any luck.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 (5)
-
Anthony Minessale
-
Antonio Silva
-
Giovanni Maruzzelli
-
Ken Rice
-
Michael Nielsen