From e22016062ee776090297569f6bed8658e1fbb20b Mon Sep 17 00:00:00 2001 From: redink Date: Tue, 21 Jun 2016 16:25:50 +0800 Subject: [PATCH] mark for no crash log --- README.md | 2 +- src/lager.app.src | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b6a370..ba465da 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ You can also disable reformatting for OTP and Cowboy messages by setting variabl The `error_logger` handler will also log more complete error messages (protected with use of `trunc_io`) to a "crash log" which can be referred to for further information. The location of the crash log can be specified by the crash_log -application variable. If set to `undefined` it is not written at all. +application variable. If set to `false` it is not written at all. Messages in the crash log are subject to a maximum message size which can be specified via the `crash_log_msg_size` application variable. diff --git a/src/lager.app.src b/src/lager.app.src index 1e1855d..7310d91 100644 --- a/src/lager.app.src +++ b/src/lager.app.src @@ -30,7 +30,7 @@ ]}, - %% Whether to write a crash log, and where. Undefined means no crash logger. + %% Whether to write a crash log, and where. False means no crash logger. {crash_log, "log/crash.log"}, %% Maximum size in bytes of events in the crash log - defaults to 65536 {crash_log_msg_size, 65536},