mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Merge pull request #1677 from getong/catch_lager_crash_log_not_run
lager_crash_log in some cases not run, catch it
This commit is contained in:
commit
c97aade33e
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ reopen_log() ->
|
||||||
|
|
||||||
%% @spec () -> ok
|
%% @spec () -> ok
|
||||||
rotate_log() ->
|
rotate_log() ->
|
||||||
lager_crash_log ! rotate,
|
catch lager_crash_log ! rotate,
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
fun({lager_file_backend, File}) ->
|
fun({lager_file_backend, File}) ->
|
||||||
whereis(lager_event) ! {rotate, File};
|
whereis(lager_event) ! {rotate, File};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue