[ 
https://issues.apache.org/jira/browse/LOG4J2-2832?focusedWorklogId=427569&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-427569
 ]

ASF GitHub Bot logged work on LOG4J2-2832:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Apr/20 10:03
            Start Date: 27/Apr/20 10:03
    Worklog Time Spent: 10m 
      Work Description: asbachb opened a new pull request #358:
URL: https://github.com/apache/logging-log4j2/pull/358


   Instead of using a hard coded name the class name of the interface was used 
which
   a) Increases visibility where the interface is referenced
   b) Prevents that the message needs to be adjusted when the interface name 
changes


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 427569)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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}
> https://github.com/apache/logging-log4j2/blob/log4j-2.13.2/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/RollingFileAppender.java#L141
> 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)

Reply via email to