You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Michael Wells Baranski (JIRA)" <ji...@apache.org> on 2018/05/02 14:10:00 UTC

[jira] [Created] (LOG4J2-2331) Rolling file appender concatenating debug message instead of using formatting

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)