You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Patrice Ferrot (JIRA)" <ji...@apache.org> on 2019/07/05 08:42:00 UTC
[jira] [Commented] (LOG4J2-2337) Allow custom end-of-line with
JsonLayout
[ https://issues.apache.org/jira/browse/LOG4J2-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879070#comment-16879070 ]
Patrice Ferrot commented on LOG4J2-2337:
----------------------------------------
Hi [~ggregory] - shouldn't this ticket be closed since the fix was included in 2.12.0 and is mentioned in the change log ([https://logging.apache.org/log4j/2.x/changes-report.html#a2.12.0]).
Cheers,
Patrice
> Allow custom end-of-line with JsonLayout
> -----------------------------------------
>
> Key: LOG4J2-2337
> URL: https://issues.apache.org/jira/browse/LOG4J2-2337
> Project: Log4j 2
> Issue Type: Bug
> Environment: Server run on Unix environment.
> Reporter: Arvind Sahare
> Priority: Major
> Attachments: Screen Shot 2018-05-11 at 12.06.51.png
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Log4j JSONLayout with eventEol="true", prints '\r' at end of log.
> Example:- \{"key":"value", "key":"value"}\r
>
> Problem - Currently we are using Splunk for log analysis, which is not able to render Log string as JSON, due to \r getting printed. Can we avoid it getting printed?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)