Sfoglia il codice sorgente

Merge pull request #109 from basho/adt-crash-log-false

Lager failed after long sleep of computer
pull/110/merge
Andrew Thompson 12 anni fa
parent
commit
0009753cfc
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/lager_sup.erl

+ 2
- 0
src/lager_sup.erl Vedi File

@ -44,6 +44,8 @@ init([]) ->
Crash = case application:get_env(lager, crash_log) of
{ok, undefined} ->
[];
{ok, false} ->
[];
{ok, File} ->
MaxBytes = case application:get_env(lager, crash_log_msg_size) of
{ok, Val} when is_integer(Val) andalso Val > 0 -> Val;

Caricamento…
Annulla
Salva