chore: fix config doc

This commit is contained in:
Zaiming Shi 2021-05-06 09:16:31 +02:00 committed by Zaiming (Stone) Shi
parent b8e271a588
commit 4cff5c4dac
2 changed files with 3 additions and 3 deletions

View File

@ -450,8 +450,8 @@ log.file = emqx.log
## Log to single line
## Value: formatter_default | true | false
## 'default' is equivalent to 'true' when use_json_formatter is 'true'
## 'default' is equivalent to 'false' when `use_json_formatter is 'false'
## 'formatter_default' is equivalent to 'true' when log.formatter is 'json'
## 'formatter_default' is equivalent to 'false' when log.formatter is 'text'
#log.single_line = formatter_default
## Enables the log rotation.

View File

@ -25,7 +25,7 @@
%% e.g. logger:log(info, _Data = #{foo => bar}, _Meta = #{metaf1 => 2})
%% will results in a JSON object look like below:
%%
%% {"time": 1620226963427808, "level": "info", msg": "foo: bar", "metaf1": 2}
%% {"time": 1620226963427808, "level": "info", "msg": "foo: bar", "metaf1": 2}
-module(emqx_logger_jsonfmt).