mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
ejabberd_logger: Disable debug logging properly
Don't forget to disable xmpp's debug logging when reducing the log level from 5 to a lower value.
This commit is contained in:
parent
a73aac691e
commit
dd93c0b457
@ -220,7 +220,7 @@ set(LogLevel) when is_integer(LogLevel) ->
|
||||
end,
|
||||
case LogLevel of
|
||||
5 -> xmpp:set_config([{debug, true}]);
|
||||
_ -> ok
|
||||
_ -> xmpp:set_config([{debug, false}])
|
||||
end,
|
||||
{module, lager};
|
||||
set({_LogLevel, _}) ->
|
||||
|
Loading…
Reference in New Issue
Block a user