Browse Source

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

Lager failed after long sleep of computer
pull/110/merge
Andrew Thompson 12 years ago
parent
commit
0009753cfc
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/lager_sup.erl

+ 2
- 0
src/lager_sup.erl View 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;

Loading…
Cancel
Save