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

I want set current date to "Active output target" in RollingFile.

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.3
    • None
    • Appenders
    • 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

          Activity

            People

              Unassigned Unassigned
              nonoriri lee yongjoong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: