[Freeswitch-users] Setting loglevel to warning removes log in fs_cli

Anthony Minessale anthony.minessale at gmail.com
Fri Oct 2 18:12:02 MSD 2015


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 at gmail.com>
wrote:

> Running this:
>
> console loglevel 7
>
> +OK log level 7 [7]
>
> +OK console log level set to DEBUG
>
>
> freeswitch at internal> /log 7
>
> +OK log level 7 [7]
>
> freeswitch at internal>
>
>
> still doesn't show anything in fs_cli when making calls.
>
> On Fri, Oct 2, 2015 at 3:27 PM, Giovanni Maruzzelli <gmaruzz at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>
>>>
>>> --
>>>
>>> Saludos / Regards / Cumprimentos,
>>> *António Silva*
>>> *e-Mail:* asilva at wirelessmundi.com / *Tel.:* (+34) 912160930
>>> <+34912160930> / *SKYPE:* wm_asilva
>>> [image: Wireless Mundi] <http://www.wirelessmundi.com>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at 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 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
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>



-- 
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 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151002/7ebb5b7b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ahghfgjg.png
Type: image/png
Size: 2424 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151002/7ebb5b7b/attachment.png 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list