Management of rotated log files

Rotated log files are compressed and stored locally in /var/log/, regardless of the remote host configuration. Rotated log files are stored with respective time extension to the granularity of hour in the format file1–YYYYMMDDHH.gz (for example, messages-2015080715.gz). Rotated log files are replaced when the number of old rotated log files exceeds three. The newly rotated log file replaces the oldest rotated log file.