Admin UI server.log: log rotation settings

Document ID : KB000124518
Last Modified Date : 16/01/2019
Show Technical Document Details
Question:
Question on default behavior of AdminUI server.log rotation (periodic-rotating-file-handler).
 
(1) When log file is rotated
 
Is it the below recognition on the log rotation correct?
 
  • Log file is rotated when the log output of server.log occurs,
  • and the server.log file creation date is earlier than the previous day.
 
(2) Number of backup files
 
What is the max number of files of backup files of server.log rotated?
Environment:
AdminUI 12.7 / 12.8
Answer:
(1) Yes. It is correct.

(2) There is no restriction on the number of backup files. (Also, you may not restrict the maximum number of rotated files to keep.)