• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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