This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 7 Problems / Re: Logrotate for access_log and modsec_audit.log
« on: June 27, 2023, 04:35:49 PM »
Use this and you will be fine. There should be "." before the log in apache/logs
/usr/local/apache/domlogs/*.log /usr/local/apache/logs/*.log{
daily
missingok
rotate 15
compress
delaycompress
notifempty
sharedscripts
dateext
postrotate
service httpd restart > /dev/null
endscript
}
/usr/local/apache/domlogs/*.log /usr/local/apache/logs/*.log{
daily
missingok
rotate 15
compress
delaycompress
notifempty
sharedscripts
dateext
postrotate
service httpd restart > /dev/null
endscript
}
Pages: [1]