mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user