Stop SASL application in ejabberd_logger:flush()
This commit is contained in:
parent
f1a35cc9ac
commit
e8fe68543e
|
@ -49,7 +49,6 @@ stop() ->
|
|||
application:stop(ejabberd).
|
||||
|
||||
halt() ->
|
||||
application:stop(sasl),
|
||||
ejabberd_logger:flush(),
|
||||
erlang:halt(1, [{flush, true}]).
|
||||
|
||||
|
|
|
@ -242,7 +242,8 @@ get_lager_version() ->
|
|||
end.
|
||||
|
||||
flush() ->
|
||||
application:stop(lager).
|
||||
application:stop(lager),
|
||||
application:stop(sasl).
|
||||
|
||||
-else.
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
|
|
Loading…
Reference in New Issue