mirror of
https://github.com/processone/ejabberd
synced 2025-10-04 02:09:33 +02:00
Stop SASL application in ejabberd_logger:flush()
This commit is contained in:
parent
f1a35cc9ac
commit
e8fe68543e
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue