Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow crash_log option to be 'false' as well

  • Loading branch information...
commit 704613dab76dcc508b893e1adba6e26d9bd3a50d 1 parent 7993c8f
@Vagabond Vagabond authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/lager_sup.erl
View
2  src/lager_sup.erl
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.