Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • if the size of a single log file exceeds 100MB or
  • on day change, i.e. on midnight of the time zone specified with the Log4j2 configuration.

If a log file is rotated then its name is appended the current date and a running number, in addition the log file is compressed, e.g. a log file controller.log becomes controller-2021-01-31-1.log.gz. The running number 1 indicates the first log file of the day being rotated.

...