aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc/src/kernel_app.xml
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-09 14:28:44 +0200
committerLukas Larsson <[email protected]>2018-05-21 17:43:52 +0200
commit92d93f85e88235f3fa757d300628d382d09c6226 (patch)
tree63ea5d55b4f56bf1a551a4cd5c654729ace03599 /lib/kernel/doc/src/kernel_app.xml
parent3ff770804a27da9add51178b99946ea93d74bd32 (diff)
downloadotp-92d93f85e88235f3fa757d300628d382d09c6226.tar.gz
otp-92d93f85e88235f3fa757d300628d382d09c6226.tar.bz2
otp-92d93f85e88235f3fa757d300628d382d09c6226.zip
Fix some link errors in logger documentation
Diffstat (limited to 'lib/kernel/doc/src/kernel_app.xml')
-rw-r--r--lib/kernel/doc/src/kernel_app.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/kernel/doc/src/kernel_app.xml b/lib/kernel/doc/src/kernel_app.xml
index ebc7962f29..7cd05dab14 100644
--- a/lib/kernel/doc/src/kernel_app.xml
+++ b/lib/kernel/doc/src/kernel_app.xml
@@ -181,11 +181,10 @@
<p>This parameter specifies which log levels to log. The
specified level, and all levels that are more severe, will
be logged.</p>
- <p>It is possible to change this variable at run-time
- using <seealso marker="logger:set_logger_config/1">
- <c>logger:set_logger_config(#{ level => error })</c></seealso>.
- .</p>
<p>The default value is <c>info</c>.</p>
+ <p>To change the global log level at run-time, use
+ <seealso marker="logger#set_logger_config/2">
+ <c>logger:set_logger_config(level, error)</c></seealso>.</p>
</item>
<tag><marker id="logger_sasl_compatible"/>
<c>logger_sasl_compatible = boolean()</c></tag>