• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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