How to Change your ModSecurity Audit Log Level

ModSecurity can help protect your website from common exploits and attacks. ModSecurity audit logs can include information about the transactions that are happening. In this tutorial, we will show you how to set your ModSecurity audit log level. This lets you choose the type of transactions that are logged, which can be helpful when troubleshooting issues. You can adjust the log settings on all of our VPS and Dedicated hosting plans.

Change ModSecurity Audit Log Level

  1. Log into WHM as the ‘root’ user.

  2. Type ‘modsecurity’ in the search field, then click the ModSecurity™ Configuration link in the Security Center section.

  3. Locate the Audit Log Level section of the ModSecurity Configuration page and choose your setting. The options are to Only log noteworthy transactions, Do not log any transactions, or Log all transactions (this option is only recommended for debugging purposes).

  4. Click the Save button to set your audit log level.

    You are finished when you see a message stating “Success: You have successfully saved your ModSecurity™ settings.

Congratulations, now you know how to change your ModSecurity audit log level!

John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Was this article helpful? Join the conversation!