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

Gary Gregory commented on LOG4J2-496:
-------------------------------------

Just to be clear, you can use a lookup like "$\{sys:os.name\}" but not a "%" 
pattern like "%d\{UNIX\}"

> Allow Layout header and footer to be configured in files and to contain 
> properties.
> -----------------------------------------------------------------------------------
>
>                 Key: LOG4J2-496
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-496
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Configurators
>    Affects Versions: 2.0-beta9
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>             Fix For: 2.0-rc2
>
>
> In LOG4J2-491 the user is requesting to be able to insert his own custom 
> header and footer during rollover. The Layout header and footer were designed 
> for that purpose but currently can only be used to specify a static header or 
> footer. Furthermore, PatternLayout doesn't allow the header or footer to be 
> provided at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to