aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-21 17:59:10 +0200
committerSiri Hansen <[email protected]>2018-05-23 11:11:57 +0200
commit51c6464a011eacd78340b60e2641eaecc36933f6 (patch)
tree7d437300009d4285cfbcec129e81dd990db6c419 /lib/kernel/src
parentf38163aa64547e09f99e362edefeda713e06ddb7 (diff)
downloadotp-51c6464a011eacd78340b60e2641eaecc36933f6.tar.gz
otp-51c6464a011eacd78340b60e2641eaecc36933f6.tar.bz2
otp-51c6464a011eacd78340b60e2641eaecc36933f6.zip
Change env var logger_log_progress to logger_progress_reports
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/kernel.app.src2
-rw-r--r--lib/kernel/src/logger.erl6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/kernel/src/kernel.app.src b/lib/kernel/src/kernel.app.src
index 23ac5b3444..46fb3e09d5 100644
--- a/lib/kernel/src/kernel.app.src
+++ b/lib/kernel/src/kernel.app.src
@@ -142,7 +142,7 @@
{applications, []},
{env, [{logger_level, info},
{logger_sasl_compatible, false},
- {logger_log_progress, false}
+ {logger_progress_reports, stop}
]},
{mod, {kernel, []}},
{runtime_dependencies, ["erts-10.0", "stdlib-3.5", "sasl-3.0"]}
diff --git a/lib/kernel/src/logger.erl b/lib/kernel/src/logger.erl
index f22fd5e8de..b32fca1fda 100644
--- a/lib/kernel/src/logger.erl
+++ b/lib/kernel/src/logger.erl
@@ -731,10 +731,10 @@ get_default_handler_filters() ->
?DEFAULT_HANDLER_FILTERS([beam,erlang,otp]);
false ->
Extra =
- case application:get_env(kernel, logger_log_progress, false) of
- true ->
+ case application:get_env(kernel, logger_progress_reports, stop) of
+ log ->
[];
- false ->
+ stop ->
[{stop_progress,
{fun logger_filters:progress/2,stop}}]
end,