[ 
https://issues.apache.org/jira/browse/LOG4J2-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Remko Popma reopened LOG4J2-2337:
---------------------------------

I disagree with Gary on this. 
That said, your issue has more chance of being worked on if you make it easier 
for the volunteers who contribute here. You can do that by investigating where 
the “/r” is added and proposing a patch (or pull request) , ideally with unit 
tests. 

> JSONLayout printing \r at end of line
> -------------------------------------
>
>                 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
>
> 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)

Reply via email to