From cd6c5c62dfaa9d56da0335233a81a73f3610e180 Mon Sep 17 00:00:00 2001 From: Yuri Artemev Date: Wed, 27 Jul 2016 10:46:42 +0300 Subject: [PATCH] add note about suppressing app/sup logs --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7b6a370..d649259 100644 --- a/README.md +++ b/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 ``` +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.2.1 - 10 June 2016