Просмотр исходного кода

Merge pull request #364 from redink/crash_log_undefined

mark for no crash log

Reviewed-by: JeetKunDoug
pull/375/head
Bishop Bors 8 лет назад
committed by GitHub
Родитель
Сommit
049f3a932f
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      README.md
  2. +1
    -1
      src/lager.app.src

+ 1
- 1
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.

+ 1
- 1
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},

Загрузка…
Отмена
Сохранить