diff --git a/src/ejabberd_loglevel.erl b/src/ejabberd_loglevel.erl index 8f55ed09e..b56f665e2 100644 --- a/src/ejabberd_loglevel.erl +++ b/src/ejabberd_loglevel.erl @@ -98,7 +98,7 @@ set_custom(Module, Level) -> end. clear_custom() -> - {DefaultLevel, CustomLevels} = ejabberd_logger:get(), + {DefaultLevel, _CustomLevels} = ejabberd_logger:get(), set({DefaultLevel, []}). clear_custom(Module) ->