You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Charles Allen (JIRA)" <ji...@apache.org> on 2016/09/15 04:15:20 UTC
[jira] [Created] (LOG4J2-1584) RFC5424 layout needs better
delimiter specification between message and throwable
Charles Allen created LOG4J2-1584:
-------------------------------------
Summary: RFC5424 layout needs better delimiter specification between message and throwable
Key: LOG4J2-1584
URL: https://issues.apache.org/jira/browse/LOG4J2-1584
Project: Log4j 2
Issue Type: Wish
Components: Layouts
Reporter: Charles Allen
https://github.com/apache/logging-log4j2/blob/log4j-2.6.2/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/Rfc5424Layout.java#L343
The RFC5424 Layout has a hard-coded Line Feed between the message and the throwable printing.
This makes parsers have to be a bit smarter as far as delimiting messages based on newlines.
As far as I can tell this behavior is not documented and is unavoidable.
This ask is that there be more control over the delimiting between the throwable and the message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org