OS level command to rotate logfiles.
Please find below the logrotate file for the web policy agents in PROD environment:
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
No comments:
Post a Comment