Showing 7 Result(s)

logrotate mariadb not workin as expected

Hachem Bouhlel asked: i’m trying to configure logrotate for mariadb log files, Environment: system : RHEL 8.2 logrotate : 3.14.0 mariadb: 10.4 the file is /var/lib/mysql/SITE2-L-MANAGEDPKI-01.log{ missingok notifempty copytruncate daily …

Cent OS logrotate is not rotating httpd log

bisb asked: My /etc/logrotate.d/httpd file content is /var/log/httpd/access.log { size=50M dateext maxage 90 postrotate /usr/bin/killall -HUP httpd ls -ltr /var/log/httpd/ | mail -s “$HOSTNAME: Apache restarted and log files rotated” …

PDNS log rotation

HTF asked: I wonder what’s the recommended way to rotate PowerDNS log files. I added the following entry to logrotate: # cat /etc/logrotate.d/pdns /var/log/pdns/*.log { daily rotate 7 compress delaycompress …