Permalink
Browse files

Allow crash_log option to be 'false' as well

  • Loading branch information...
1 parent 7993c8f commit 704613dab76dcc508b893e1adba6e26d9bd3a50d @Vagabond Vagabond committed Mar 7, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/lager_sup.erl
View
@@ -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;

0 comments on commit 704613d

Please sign in to comment.