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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/01/04 07:15:39 UTC

[jira] [Resolved] (LOG4J2-1237) Make PatternLayout header and footer accept a pattern

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

Gary Gregory resolved LOG4J2-1237.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.1

In Git master. Please verify and fix.

> Make PatternLayout header and footer accept a pattern
> -----------------------------------------------------
>
>                 Key: LOG4J2-1237
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1237
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Layouts
>            Reporter: Mike Calmus
>            Assignee: Gary Gregory
>            Priority: Minor
>             Fix For: 2.5.1
>
>
> 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