mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
Stop SASL application in ejabberd_logger:flush()
This commit is contained in:
parent
f1a35cc9ac
commit
e8fe68543e
|
@ -49,7 +49,6 @@ stop() ->
|
||||||
application:stop(ejabberd).
|
application:stop(ejabberd).
|
||||||
|
|
||||||
halt() ->
|
halt() ->
|
||||||
application:stop(sasl),
|
|
||||||
ejabberd_logger:flush(),
|
ejabberd_logger:flush(),
|
||||||
erlang:halt(1, [{flush, true}]).
|
erlang:halt(1, [{flush, true}]).
|
||||||
|
|
||||||
|
|
|
@ -242,7 +242,8 @@ get_lager_version() ->
|
||||||
end.
|
end.
|
||||||
|
|
||||||
flush() ->
|
flush() ->
|
||||||
application:stop(lager).
|
application:stop(lager),
|
||||||
|
application:stop(sasl).
|
||||||
|
|
||||||
-else.
|
-else.
|
||||||
-include_lib("kernel/include/logger.hrl").
|
-include_lib("kernel/include/logger.hrl").
|
||||||
|
|
Loading…
Reference in New Issue
Block a user