• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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