summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2019-11-26 16:02:05 +0100
committerLukas Larsson <lukas@erlang.org>2019-11-26 16:02:05 +0100
commitafc56b2402e7b8c4ea28e20daae9dcd5915979ce (patch)
treedc03c354f9a863b31f90af77811e69e58f64d2b6
parent86033b2584eab32d478086f0855212c1111be281 (diff)
parentcdcd14eba5cc02942ef3e9e6f5b0ff9af3f5678f (diff)
downloaderlang-afc56b2402e7b8c4ea28e20daae9dcd5915979ce.tar.gz
Merge branch 'lukas/kernel/logger-cookbook/OTP-16208/OTP-16209' into maint
* lukas/kernel/logger-cookbook/OTP-16208/OTP-16209: logger: Add progress report to cookbook
-rw-r--r--lib/kernel/doc/src/logger_cookbook.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/logger_cookbook.xml b/lib/kernel/doc/src/logger_cookbook.xml
index 0363625605..30209f0a90 100644
--- a/lib/kernel/doc/src/logger_cookbook.xml
+++ b/lib/kernel/doc/src/logger_cookbook.xml
@@ -117,6 +117,28 @@ Handler configuration:
</section>
<section>
+ <title>Configure the Logger</title>
+
+ <section>
+ <title>Where did my progress reports go?</title>
+ <p>In OTP-21 the default primary log level is <c>notice</c>. The means
+ that many log messages are by default not printed. This includes
+ the progress reports of supervisors. In order to get progress reports
+ you need to raise the primary log level to <c>info</c></p>
+ <code type="erl-repl">$ erl -kernel logger_level info
+=PROGRESS REPORT==== 4-Nov-2019::16:33:11.742069 ===
+ application: kernel
+ started_at: nonode@nohost
+=PROGRESS REPORT==== 4-Nov-2019::16:33:11.746546 ===
+ application: stdlib
+ started_at: nonode@nohost
+Eshell V10.5.3 (abort with ^G)
+1></code>
+
+ </section>
+ </section>
+
+ <section>
<title>Configure Logger formatter</title>
<p>In order to fit better into your existing logging infrastructure Logger can
format its logging messages any way to want to. Either you can use the built-in