Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2547

Error message contains reference to non-existent DirectFilenameRolloverStrategy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.11.1
    • Fix Version/s: 2.12.0
    • Component/s: Core
    • Labels:

      Description

      If you configure a RollingRandomAccessFile without a fileName the following error message is logged:

      ERROR RollingFileAppender '{}': When no file name is provided a DirectFilenameRolloverStrategy must be configured

      As there is no such thing as 'Direct*Filename*RolloverStrategy' this should probably be 'Direct*Write*RolloverStrategy'.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                frvabe Franz van Betteraey
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: