Larry Kear created LOG4J2-1273:
----------------------------------

             Summary: Property Substitution documentation for bundle incorrect
                 Key: LOG4J2-1273
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1273
             Project: Log4j 2
          Issue Type: Documentation
          Components: Configurators
    Affects Versions: 2.5
         Environment: Spring Tool Suite 3.6.4 on Windows 7, localhost testing
Spring framework 4.1.6.RELEASE
slf4j 1.7.16
Spring Security 4.0.2.RELEASE
Spring Webflow 2.4.2.RELEASE
Hibernate 4.3.11.FINAL
            Reporter: Larry Kear
            Priority: Minor


The documentation here: 
https://logging.apache.org/log4j/2.0/manual/configuration.html#Properties, 
indicates as an example that the bundle syntax for a properties file is 
{bundle:com.domain.Messages:MyKey}. That is incorrect.  I spent several hours 
trying various combinations of this syntax and debugging through the 
ResourceBundle and FileAppender classes to find out a solution - it turned out 
to be {bundle:Messages:MyKey}..  See 
http://stackoverflow.com/questions/35386080 for details on this issue..





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