Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.17.2
-
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
- links to