[ https://issues.apache.org/jira/browse/LOG4J2-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228764#comment-14228764 ]
Konstantinos Liakos commented on LOG4J2-908: -------------------------------------------- Yes, I am setting <JSONLayout complete="true"/>, and not only it doesn't add a comma between logs, but it also doesn't add the json array footer("]"). The output is like this: {code:javascript} [ { "timeMillis" : 1417266618496, "thread" : "main", "level" : "INFO", "message" : "info", "endOfBatch" : false, "loggerFqcn" : "org.apache.logging.log4j.spi.AbstractLogger" }{ "timeMillis" : 1417266618875, "thread" : "main", "level" : "ERROR", "message" : "error", "endOfBatch" : false, "loggerFqcn" : "org.apache.logging.log4j.spi.AbstractLogger" } {code} > JSONLayout doesn't add a comma between log events > ------------------------------------------------- > > Key: LOG4J2-908 > URL: https://issues.apache.org/jira/browse/LOG4J2-908 > Project: Log4j 2 > Issue Type: Bug > Components: Layouts > Affects Versions: 2.1 > Reporter: Konstantinos Liakos > > JSONLayout doesn't output a comma (,) between the log events. This makes it > quite difficult to read and deserialize the log files. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org