• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Log Rotation Preferences

E

edispah

Guest
Hi

Im using Plesk 7.5.3 on Fedora Core 2, I have Log Rotation Preferences set for a domain as follows

Log Rotation Condition - by time "Daily"
Maximum number of log files - 5
Compress log files - ticked
Send processed log files to e-mail [email protected]

(where [email protected] is a real email)

Everything works except the email to the user?

Ive checked in /usr/local/psa/etc/logrotate.d/domain.co.uk and the files looks ok it has at the end of each section

mail [email protected]

The strange thing is when I first enabled this I did get an email with the stats 3 days running but for the last 3 days ive not had any?

Any ideals? Thanks in advance

Paul
 
Hi

Some further info, I can see theres a mysql table called logrotation.

It has the following set

id = 2
period_type = by_time
period = daily
max_number_of_logfiles = 5
compress_enable = true
email = [email protected]
turned_on = true

The log files are rotating fine and the timestamps of the rotated logs are always around 4.20am which is when the cron.daily stuff is running.

Im just not getting the email, ive checked /usr/local/psa/var/log/maillog and no emails are being sent at that time so its not like its sending the email?

Anyone any ideals, ive got a customer who requires the log to be emailed but I just cant get it working.

Paul
 
Back
Top