• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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