|Was this usefull?|
Solution for very large mod_security modsec_audit.log
Posted on 04-01-2015 00:05
An other annoyance of mod_security is the very large modsec_audit.log. In my case it was almost 3GB in size.
The solution for this is to use logrotate.
Don't want to wait until your server rotates the logs? Then force a log rotate now by executing the command below:
logrotate -f /etc/logrotate.conf
Check your /var/log directory! :)
Your apachectl could be located somewhere else! So check the path with:
Now the path is shown. Update this path in the above logrotate file.
|Jump to Forum
Use BBcode or HTML to refer to; 'Solution for very large mod_security modsec_audit.log'
|Subject||Discussion Forum||Last Post|
|Solution for error ModSecurity: collections_remove_stale: Failed deleting collection||Linux tutorials, Tips & Tricks||: 1||04-01-2015|