diff options
author | Siri Hansen <[email protected]> | 2018-09-06 13:51:49 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-09-12 14:58:02 +0200 |
commit | a9a72da93e9b93a1d7ee9936b8e223545277480e (patch) | |
tree | 9fe33e3c652a9386d18a23355cb533668fdd876b /lib/kernel/test/logger_simple_h_SUITE.erl | |
parent | 1832ab7dfb86559af2dfc0518669dcdce4f704ee (diff) | |
download | otp-a9a72da93e9b93a1d7ee9936b8e223545277480e.tar.gz otp-a9a72da93e9b93a1d7ee9936b8e223545277480e.tar.bz2 otp-a9a72da93e9b93a1d7ee9936b8e223545277480e.zip |
[logger] Refactor, and add error detection for configuration
Diffstat (limited to 'lib/kernel/test/logger_simple_h_SUITE.erl')
-rw-r--r-- | lib/kernel/test/logger_simple_h_SUITE.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kernel/test/logger_simple_h_SUITE.erl b/lib/kernel/test/logger_simple_h_SUITE.erl index 79e5c057ad..e0ad792bdb 100644 --- a/lib/kernel/test/logger_simple_h_SUITE.erl +++ b/lib/kernel/test/logger_simple_h_SUITE.erl @@ -117,8 +117,7 @@ replace_default(Config) -> log(Node, critical, [?str,[?keyval_rep]]), log(Node, notice, [["fake",string,"line:",?LINE]]), - Env = rpc:call(Node, application, get_env, [kernel, logger, []]), - ok = rpc:call(Node, logger, add_handlers, [Env]), + ok = rpc:call(Node, logger, add_handlers, [kernel]), ok. |