Details
-
Question
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.3
-
None
-
None
Description
Hi.
I want set current date to "active output target" in RollingFile.
For example, if today is 2015/12/01,
then "Active output target" is "foo-20151201.log".
if day changed 2015/12/02,
then "foo-20151201.log" will be Archived log files,
and "Active output target" will be "foo-20151202.log"(new file).
How can I achieve this?
Thanks!
Attachments
Issue Links
- duplicates
-
LOG4J2-1101 Date based file appender
- Resolved