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

Error message contains reference to non-existent DirectFilenameRolloverStrategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.11.1
    • 2.12.0
    • Core

    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

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

              Dates

                Created:
                Updated:
                Resolved: