diff options
author | Siri Hansen <[email protected]> | 2018-06-07 16:23:19 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-11 15:01:41 +0200 |
commit | c026109009942d7a877242f161860cc824223cf1 (patch) | |
tree | 44cae2092634830ecaab5732aacd7c142c8ebc6e /lib/kernel/src/logger_server.erl | |
parent | b91eceaf71e0009346d119346a33894ed53be7b0 (diff) | |
download | otp-c026109009942d7a877242f161860cc824223cf1.tar.gz otp-c026109009942d7a877242f161860cc824223cf1.tar.bz2 otp-c026109009942d7a877242f161860cc824223cf1.zip |
[logger] Change default primary log level to 'notice'
Log events issued via error_logger:info_msg or
error_logger:info_report are now forwarded to Logger with level
'notice' instead of 'info'.
Log events issued by gen_* behaviours are also changed from level
'info' to level 'notice'.
Progress reports are still 'info', and can therefore easily be
included/excluded by changing the primary log level. By default, they
are not logged.
Diffstat (limited to 'lib/kernel/src/logger_server.erl')
-rw-r--r-- | lib/kernel/src/logger_server.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/logger_server.erl b/lib/kernel/src/logger_server.erl index 6d4ab0925d..5da8f71420 100644 --- a/lib/kernel/src/logger_server.erl +++ b/lib/kernel/src/logger_server.erl @@ -357,7 +357,7 @@ do_set_config(Tid,Id,Config) -> ok. default_config(primary) -> - #{level=>info, + #{level=>notice, filters=>[], filter_default=>log}; default_config(Id) -> |