logger.c fix: malformed JSON template

this typo was mentioned before, but never got fixed.
https://community.asterisk.org/t/logger-cannot-log-long-json-lines-properly/87618/6

(cherry picked from commit ffbe9bf31e)
This commit is contained in:
Steffen Arntz
2025-01-08 17:57:54 +01:00
committed by Asterisk Development Team
parent ffdb7dff70
commit 5645529361

View File

@@ -287,7 +287,7 @@ static int format_log_json(struct logchannel *channel, struct logmsg *msg, char
}
json = ast_json_pack("{s: s, s: s, "
"s: {s: i, s: s} "
"s: {s: i, s: s}, "
"s: {s: {s: s, s: s, s: i}, "
"s: s, s: s} }",
"hostname", ast_config_AST_SYSTEM_NAME,