Michael Wells Baranski created LOG4J2-2331:
----------------------------------------------

             Summary: Rolling file appender concatenating debug message instead 
of using formatting
                 Key: LOG4J2-2331
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2331
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.11.0
         Environment: Any - Mac with log4j 2.11.0 using `-Dlog4j.debug` and a 
RollingFileAppender
            Reporter: Michael Wells Baranski


When debug is on, RollingFileAppender prints the shutdown message and 
concatenates the name, instead of passing it as an argument to be formatted:

`"Shutting down RollingFileManager {}" + getName()`

should be:

`"Shutting down RollingFileManager {}", getName()`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to