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

log4j-1.2-api bridge RollingFileAppender doesn't provide filePattern support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.17.2
    • 2.18.0
    • Log4j 1.2 bridge
    • None

    Description

      The Builder for RollingFileAppender doesn't provide support for filePattern. In case of a roll-over it uses a hardcoded pattern like 'filename+.<count>'.

      There are cases where a user would like the rolled over file to be named as per a desired pattern. In absence of this option it renders the migration from log4j1 to log4j2 via bridge almost impossible without breaking changes.

      Add support for filePattern in all the configurations ( XML, properties )

      Attachments

        Issue Links

          Activity

            People

              pkarwasz Piotr Karwasz
              iamjamal Md Jamaluddin Khan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: