浏览代码

add note about suppressing app/sup logs

pull/368/head
Yuri Artemev 8 年前
父节点
当前提交
cd6c5c62df
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      README.md

+ 10
- 0
README.md 查看文件

@ -652,6 +652,16 @@ You can also pass it to `erlc`, if you prefer:
erlc -pa lager/ebin +'{parse_transform, lager_transform}' +'{lager_truncation_size, 1024}' file.erl erlc -pa lager/ebin +'{parse_transform, lager_transform}' +'{lager_truncation_size, 1024}' file.erl
``` ```
Suppress applications and supervisors start/stop logs
-----------------------------------------------------
If you don't want to see supervisors and applications start/stop logs in debug level of your application, you can use these configs to turn it off:
```erlang
{lager, [{suppress_application_start_stop, true},
{suppress_supervisor_start_stop, true}]}
```
3.x Changelog 3.x Changelog
------------- -------------
3.2.1 - 10 June 2016 3.2.1 - 10 June 2016

正在加载...
取消
保存