[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    [jira] [Commented] (LOG4J2-1237) Header should be on its own line
From:       "Gary Gregory (JIRA)" <jira () apache ! org>
Date:       2015-12-31 0:39:49
Message-ID: JIRA.12924929.1451500955000.31548.1451522389750 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/LOG4J2-1237?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075565#comment-15075565 ] 

Gary Gregory commented on LOG4J2-1237:
--------------------------------------

I do not see any code that does substitutions for the PatternLayout header and \
footer. We could make the PatternLayout header and footer behave like the layout \
pattern: parse it and apply it.

Seems like a nice feature.

Thoughts?

> Header should be on its own line
> --------------------------------
> 
> Key: LOG4J2-1237
> URL: https://issues.apache.org/jira/browse/LOG4J2-1237
> Project: Log4j 2
> Issue Type: Improvement
> Components: Layouts
> Reporter: Mike Calmus
> Priority: Minor
> 
> When a layout (I used PatternLayout) is configured with a header the header is \
> written at the top of the file. However, the first log entry is on the same line \
> immediately after the header rather than on its own line: header firstlogentry
> It would be better to have the first log entry be on a separate line:
> header
> firstlogentry



--
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic