diff options
author | Siri Hansen <[email protected]> | 2018-06-06 15:58:12 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-08 14:47:34 +0200 |
commit | 7f6e61ca0d752c780ffadd7aacf29aaab0783c78 (patch) | |
tree | 82081b9f1cd98a94b3ce6e6f1257e7fa57e0cb93 /lib/kernel/test/logger_simple_h_SUITE.erl | |
parent | 2ab3e91a44032cab2b173efc33b5d9589eec4864 (diff) | |
download | otp-7f6e61ca0d752c780ffadd7aacf29aaab0783c78.tar.gz otp-7f6e61ca0d752c780ffadd7aacf29aaab0783c78.tar.bz2 otp-7f6e61ca0d752c780ffadd7aacf29aaab0783c78.zip |
[logger] Change name of handler specific config field from ?MODULE to 'config'
And add field 'module' in handler config.
Diffstat (limited to 'lib/kernel/test/logger_simple_h_SUITE.erl')
-rw-r--r-- | lib/kernel/test/logger_simple_h_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/logger_simple_h_SUITE.erl b/lib/kernel/test/logger_simple_h_SUITE.erl index 264cddb069..9f34bbbe34 100644 --- a/lib/kernel/test/logger_simple_h_SUITE.erl +++ b/lib/kernel/test/logger_simple_h_SUITE.erl @@ -138,7 +138,7 @@ replace_file(Config) -> ok = rpc:call(Node, logger, add_handlers, [[{handler, default, logger_std_h, - #{ logger_std_h => #{ type => {file, File} }, + #{ config => #{ type => {file, File} }, formatter => {?DEFAULT_FORMATTER,?DEFAULT_FORMAT_CONFIG}}}]]), {ok,Bin} = sync_and_read(Node, file, File), |