Home > Success Center > Kiwi Syslog Server > Kiwi Syslog Server Administrator Guide > Add rules, filters, and actions > Add an action > Log file rotation

Log file rotation

Table of contents
No headers

When you add an action to log messages to a file in Kiwi Syslog Server, you can choose to automatically rotate log files. Use log file rotation to prevent log files from growing indefinitely and using large amounts of disk space. When log files are rotated:

  1. Messages are logged to the current log file (for example, SyslogCatchAll.txt).
  2. When the current log file reaches the specified size or age, it is renamed (for example, SyslogCatchAll.txt becomes SyslogCatchAll.txt.001). The logging process then creates a new, empty file with the original file name.
  3. When the new file reaches the specified size or age, the process is repeated (for example, SyslogCatchAll.txt.001 becomesSyslogCatchAll.txt.002, and SyslogCatchAll.txt becomes SyslogCatchAll.txt.001).
  4. When the maximum number of log files in the rotation have been created, the oldest is deleted.

You must to post a comment.
Last modified
16:29, 30 Mar 2017

Tags

Classifications

Public