From d31b79b2f8a336b0296b9fe576f10d61378b8b58 Mon Sep 17 00:00:00 2001 From: Steffen Arntz Date: Wed, 8 Jan 2025 17:57:54 +0100 Subject: [PATCH] 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 --- main/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/logger.c b/main/logger.c index 72d6962456..7d0b3b7718 100644 --- a/main/logger.c +++ b/main/logger.c @@ -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,