[
https://issues.apache.org/jira/browse/LOG4J2-2337?focusedWorklogId=221700&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221700
]
ASF GitHub Bot logged work on LOG4J2-2337:
------------------------------------------
Author: ASF GitHub Bot
Created on: 02/Apr/19 12:07
Start Date: 02/Apr/19 12:07
Worklog Time Spent: 10m
Work Description: pferrot commented on pull request #265: [LOG4J2-2337]
Allow custom end-of-line with JsonLayout (master branch)
URL: https://github.com/apache/logging-log4j2/pull/265
This PR introduces the ability to specify a custom end-of-line string for
the JSON layout, which therefore addresses the issue reported here:
https://jira.apache.org/jira/browse/LOG4J2-2337
This PR is for the `master` branch. The equivalent for the `release-2.x`
branch is available here: TODO
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 221700)
Time Spent: 20m (was: 10m)
> 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
> Attachments: Screen Shot 2018-05-11 at 12.06.51.png
>
> Time Spent: 20m
> 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)