Erlang Mailing Lists

Author Message

<  Ejabberd mailing list  ~  How to change log level without restating ejabberd?

Guest
Posted: Wed Mar 03, 2010 3:19 pm Reply with quote
Guest
Hi!

ejabberdctl lists only get_loglevel command.
Is there a way to change log level on the fly?

--
Guest
Posted: Wed Mar 03, 2010 3:27 pm Reply with quote
Guest
Hi,
In erlang VM ($ejabberdctl debug).
You can set log level on the fly with:
ejabberd_loglevel:set(LEVEL).


--
Laurent



2010/3/3 Жуков Александр <zuav@yandex.ru>:
> Hi!
>
> ejabberdctl lists only get_loglevel command.
> Is there a way to change log level on the fly?
>
> --
> Здесь спама нет http://mail.yandex.ru/nospam/sig
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd

Post received from mailinglist
Guest
Posted: Wed Mar 03, 2010 4:49 pm Reply with quote
Guest
Thank you for your answer.
But it does not work for me:


Eshell V5.6.3 (abort with ^G)
(debug-ejabberd@im.system)1> ejabberd_loglevel:set(3).
** exception error: undefined function ejabberd_loglevel:set/1
(debug-ejabberd@im.system)2>

It should be something very simple but I could not guess it.



03.03.10, 16:27, "laurent" <laurent@bewie.org>:

> Hi,
> In erlang VM ($ejabberdctl debug).
> You can set log level on the fly with:
> ejabberd_loglevel:set(LEVEL).
>
>
> > ejabberdctl lists only get_loglevel command.
> > Is there a way to change log level on the fly?
> >
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist
Guest
Posted: Wed Mar 03, 2010 5:23 pm Reply with quote
Guest
This function is provide by the ejabberd_loglevel module.
Put this module (ejabberd_loglevel.beam) on your module directory, and
load them.
Normaly, now you should be set the loglevel.

--
Laurent



2010/3/3 Жуков Александр <zuav@yandex.ru>:
> Thank you for your answer.
> But it does not work for me:
>
>
> Eshell V5.6.3  (abort with ^G)
> (debug-ejabberd@im.system)1> ejabberd_loglevel:set(3).
> ** exception error: undefined function ejabberd_loglevel:set/1
> (debug-ejabberd@im.system)2>
>
> It should be something very simple but I could not guess it.
>
>
>
> 03.03.10, 16:27, "laurent" <laurent@bewie.org>:
>
>> Hi,
>>  In erlang VM ($ejabberdctl debug).
>>  You can set log level on the fly with:
>>  ejabberd_loglevel:set(LEVEL).
>>
>>
>>  > ejabberdctl lists only get_loglevel command.
>>  > Is there a way to change log level on the fly?
>>  >
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd

Post received from mailinglist
wuji
Posted: Mon Aug 27, 2012 3:59 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
into the air and one into the ground.But the gunfire gunfire Cheap Ralph Lauren Shirts gunfire did not not scare the chimps, and when they
Cussons, he got back in his car, he said. Nikki Nikki cheap polo shirts Nikki jumped on the hood of the car and started
the windshield.Cussons said he fired one round through the glass glass Cheap Ralph Lauren Shirts glass and injured the chimp. The other chimpanzee immediately became
and the chimps moved away, allowing Cussons and first responders responders cheap Ralph Lauren responders to get to Oberle, he said.First responder Lloyd Krause
when he got to Oberle, the University of Texas San San cheap Ralph Lauren Polo San Antonio student was stripped down and the only way
knew he was alive was that his chest was moving."The moving."The [h4]cheap designer *beep*[/h4] moving."The chimps were still out there. ... He was curled
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum