Plesk log rotation conflict in CentOS

Created:

2016-11-16 13:15:42 UTC

Modified:

2017-04-24 11:41:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk log rotation conflict in CentOS

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

Daily Maintenance task runs every day. The task processes /var/log/maillog entries and puts them into the maillog.processed file.

Once a week, CentOS log rotation moves the /var/log/maillog to the maillog-$date file and creates a new, empty maillog .

The next time Plesk runs the Daily Maintenance task, it processes incomplete data from the maillog . The entries from maillog-$date created before are not included in the statistics calculation.

Cause

This is Plesk internal issue PPPM-2626 , which is expected to be fixed in future product updates.

Workaround

Remove /var/log/maillog line from the /etc/logrotate.d/syslog file. Thus, only Plesk will rotate the maillog .

Have more questions? Submit a request
Please sign in to leave a comment.