diff --git a/src/ejabberd_logger.erl b/src/ejabberd_logger.erl index e9fb7ada7..f2fd7b3d7 100644 --- a/src/ejabberd_logger.erl +++ b/src/ejabberd_logger.erl @@ -370,7 +370,7 @@ console_template() -> andalso 'Elixir.System':version() >= <<"1.15">> of true -> - [date, " ", time, " [", level, "] ", message, "\n"]; + [date, " ", time, " [", level, "] ", msg, "\n"]; false -> [time, " [", level, "] " | msg()] end.