Issue
How can be changed the size and number of the modsec_audit log?
Environment
- Imunify360
- Apache
- WHM/cPanel
Solution
It can be done in logrotate configuration file:
/etc/logrotate.d/modsecurity_logs
- rotate 15 - specifies how many old logs need to be stored.
- size=300M - the size of the log file
Comments
0 comments
Please sign in to leave a comment.