You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Benjamin Asbach (Jira)" <ji...@apache.org> on 2020/04/27 09:05:00 UTC

[jira] [Created] (LOG4J2-2832) Error message contains reference to non-existent DirectFilenameRolloverStrategy

Benjamin Asbach created LOG4J2-2832:
---------------------------------------

             Summary: Error message contains reference to non-existent DirectFilenameRolloverStrategy
                 Key: LOG4J2-2832
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2832
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.13.2
            Reporter: Benjamin Asbach


If you configure a `RollingFileAppender` with no `fileName` configured the mesagge refrences a non existing `Strategy`:

{code:java}
LOGGER.error("RollingFileAppender '{}': When no file name is provided a DirectFilenameRolloverStrategy must be configured", getName());
{code}

A similar problem was already reported and fixed in: https://issues.apache.org/jira/browse/LOG4J2-2547



--
This message was sent by Atlassian Jira
(v8.3.4#803005)