• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Logfile rotation

B

baden32

Guest
A few if logifle under /var/log are getting bigger and bigger and it seems the log rotation is never executed.
For example file /var/log/messages was 1.3Gb when I checked and deleted it!

However:

1. /etc/logrotate.conf contains a line include /etc/logrotate.d
2. /etc/logrotate.d contains file syslog
3. syslog contains
/var/log/warn /var/log/messages /var/log/allmessages /var/log/localmessages /var/log/firewall {
compress
dateext
maxage 365
rotate 99
missingok
notifempty
size +4096k
create 640 root root
sharedscripts
postrotate
/etc/init.d/syslog reload
endscript
}

I do not understand all these options but as far I as can see with 1.3Gb the max size is reached for my messages file, but the rotation did not occured.

What would b the best way to get these logfile rotated as expected?

Thanks in advance for your help.
Joel
 
Back
Top