diff options
author | Siri Hansen <[email protected]> | 2018-06-12 14:03:12 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-12 14:07:57 +0200 |
commit | a575d83ba9c4336523baa741b22d1de8d6c1ff87 (patch) | |
tree | 4923e595fcefd82bd2b8ed92b4831a1d5b6dedb9 | |
parent | ad55c4b112f5231e66f4e61dbdb5bede505fb2e2 (diff) | |
download | otp-a575d83ba9c4336523baa741b22d1de8d6c1ff87.tar.gz otp-a575d83ba9c4336523baa741b22d1de8d6c1ff87.tar.bz2 otp-a575d83ba9c4336523baa741b22d1de8d6c1ff87.zip |
[logger] Reset logger config after tests
-rw-r--r-- | lib/kernel/test/logger_SUITE.erl | 2 | ||||
-rw-r--r-- | lib/kernel/test/logger_legacy_SUITE.erl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/test/logger_SUITE.erl b/lib/kernel/test/logger_SUITE.erl index f837c31e64..b367b4dd54 100644 --- a/lib/kernel/test/logger_SUITE.erl +++ b/lib/kernel/test/logger_SUITE.erl @@ -329,7 +329,7 @@ log_no_levels(_Config) -> ok. log_no_levels(cleanup,_Config) -> logger:remove_handler(h1), - logger:set_primary_config(level,info), + logger:set_primary_config(level,notice), logger:unset_module_level(?MODULE), ok. diff --git a/lib/kernel/test/logger_legacy_SUITE.erl b/lib/kernel/test/logger_legacy_SUITE.erl index a0d133b7e9..c3cab07d81 100644 --- a/lib/kernel/test/logger_legacy_SUITE.erl +++ b/lib/kernel/test/logger_legacy_SUITE.erl @@ -91,6 +91,7 @@ init_per_group(_Group, Config) -> end_per_group(sasl, Config) -> Apps = ?config(stop_apps,Config), [application:stop(App) || App <- Apps], + ok = logger:set_primary_config(level,notice), ok; end_per_group(_Group, _Config) -> ok. |