|
|
@ -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; |
|
|
|