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 2014/09/22 16:04:33 UTC

[jira] [Created] (LOG4J2-847) Allow Layout header and footer to contain % values like %d{UNIX}

Gary Gregory created LOG4J2-847:
-----------------------------------

             Summary: Allow Layout header and footer to contain % values like %d{UNIX}
                 Key: LOG4J2-847
                 URL: https://issues.apache.org/jira/browse/LOG4J2-847
             Project: Log4j 2
          Issue Type: Improvement
          Components: Layouts
         Environment: Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T16:58:10-04:00)
Maven home: C:\Java\apache-maven-3.2.3
Java version: 1.7.0_67, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_67\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Gary Gregory


Allow Layout header and footer to contain % values like %d{UNIX}.

You can use a lookup like "${sys:os.name}" but not a "%" pattern like "%d{UNIX}"

Related to LOG4J2-496 which has been fixed.





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