Log4j 2
  1. Log4j 2
  2. LOG4J2-43

Allow DailyRollingFile appender to rollover programmatically

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Appenders
    • Labels:
      None

      Description

      Allow DailyRollingFile appender to rollover programmatically without appending any new log event.

      This will allow log file rollover, in case there's no messages to be logged for a long time,
      but the current log file needs to be backed up.

      I think making the rollOver method public would be sufficient

        Issue Links

          Activity

          Lukasz Wielek created issue -
          Ralph Goers made changes -
          Field Original Value New Value
          Link This issue duplicates LOG4J2-89 [ LOG4J2-89 ]
          Ralph Goers made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Lukasz Wielek
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development