• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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