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

    https://survey.webpros.com/

logrotation not configured for new subscriptions

W

wombat

Guest
hi!

i have logrotation set up and it's working on most of my subscriptions. but for some reason some subscriptions won't get rotated. there is no configuration file in /opt/psa/etc/logrotate.d for this domains. when i check them in the admin panel i can see that logrotation is activated. sometimes a configuration file will be generated if i de- and reactivate logrotation for them.

am i missing something? does there have to be traffic on the site to generate the logfile? any other hints?

regards,
andreas
 
Try to use CLI utility 'domain' for enabling logrotation for domains and look at output.

# /usr/local/psa/bin/domain --help | grep log-
-log-rotate <true|false> Log rotation status (default: true)
-log-bysize <number>[B|K|M|G] Log rotation by size in bytes
-log-bytime <daily|weekly|monthly> Enables log rotation by time (default:
-log-max-num-files <number> Maximum number of log file instances
-log-compress <true|false> Log files compression (default: true)
-log-email <email> Switches on sending log files to
 
Back
Top