summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit_log_config_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit_log_config_SUITE.erl b/test/unit_log_config_SUITE.erl
index 1cfa6aa6c1..b753c4075c 100644
--- a/test/unit_log_config_SUITE.erl
+++ b/test/unit_log_config_SUITE.erl
@@ -482,7 +482,7 @@ expected_syslog_handler() ->
expected_syslog_handler(Level) ->
[{syslog_lager_backend, [Level,
{},
- {lager_default_formatter, formatter_config()}]}].
+ {lager_default_formatter, syslog_formatter_config()}]}].
env_var_overrides_config(_) ->
EnvLogFile = "rabbit_default.log",
@@ -691,3 +691,6 @@ sort_handlers(Handlers) ->
formatter_config() ->
[date," ",time," ",color,"[",severity, "] ", {pid,[]}, " ",message,"\n"].
+
+syslog_formatter_config() ->
+ [color,"[",severity, "] ", {pid,[]}, " ",message,"\n"].