{"id":42764,"date":"2019-05-29T10:19:26","date_gmt":"2019-05-29T15:19:26","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=42764"},"modified":"2021-08-16T22:21:44","modified_gmt":"2021-08-17T02:21:44","slug":"how-to-change-your-modsecurity-audit-log-level","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/","title":{"rendered":"How to Change your ModSecurity Audit Log Level"},"content":{"rendered":"<p><a href=\"\/support\/security\/what-is-modsecurity-and-why-is-it-important\/\">ModSecurity<\/a> can help protect your website from common exploits and attacks. ModSecurity <em>audit logs<\/em> can include information about the transactions that are happening. In this tutorial, we will show you how to <strong>set your ModSecurity audit log level<\/strong>. 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 <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">VPS<\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">Dedicated hosting<\/a> plans.<\/p>\n<p><a name=\"change\"><\/a><\/p>\n<h2>Change ModSecurity Audit Log Level<\/h2>\n<ol class=\"article_list\">\n<li><img loading=\"lazy\" decoding=\"async\" class=\"std_ss alignnone\" style=\"float: right; margin: 15px 15px 15px 15px;\" src=\"\/support\/images\/stories\/whm\/modsecurity\/root-login.png\" alt=\"\" width=\"200\" height=\"452\">\n<div style=\"clear: both;\"><\/div>\n<p><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/log-into-whm\/#root\">Log into WHM as the \u2018root\u2019 user<\/a>.<\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li><a href=\"\/support\/images\/stories\/whm\/modsecurity\/modsecurity-configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss alignnone\" style=\"float: right; margin: 15px 15px 15px 15px;\" src=\"\/support\/images\/stories\/whm\/modsecurity\/modsecurity-configuration.png\" alt=\"\" width=\"200\" height=\"183\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Type \u2018modsecurity\u2019 in the search field, then click the <b>ModSecurity\u2122 Configuration<\/b> link in the <em>Security Center<\/em> section.<\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li><a href=\"\/support\/images\/stories\/whm\/modsecurity\/set-audit-log-level.png\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss alignnone\" style=\"float: right; margin: 15px 15px 15px 15px;\" src=\"\/support\/images\/stories\/whm\/modsecurity\/set-audit-log-level.png\" alt=\"\" width=\"200\" height=\"258\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Locate the <b>Audit Log Level<\/b> section of the ModSecurity <em>Configuration<\/em> page and choose your setting. The options are to <em>Only log noteworthy transactions<\/em>, <em>Do not log any transactions<\/em>, or <em>Log all transactions<\/em> (this option is only recommended for debugging purposes).<\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li><a href=\"\/support\/images\/stories\/whm\/modsecurity\/save-audit-log-level.png\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss alignnone\" style=\"float: right; margin: 15px 15px 15px 15px;\" src=\"\/support\/images\/stories\/whm\/modsecurity\/save-audit-log-level.png\" alt=\"\" width=\"200\" height=\"196\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<p>Click the <b>Save<\/b> button to set your audit log level.<\/p>\n<div style=\"clear: both;\"><\/div>\n<p><a href=\"\/support\/images\/stories\/whm\/modsecurity\/saved-modsecurity-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss alignnone\" style=\"float: right; margin: 15px 15px 15px 15px;\" src=\"\/support\/images\/stories\/whm\/modsecurity\/saved-modsecurity-settings.png\" alt=\"\" width=\"200\" height=\"57\"><\/a><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>You are finished when you see a message stating \u201c<em>Success: You have successfully saved your ModSecurity\u2122 settings.<\/em>\u201d<\/p>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<\/ol>\n<p>Congratulations, now you know how to change your ModSecurity audit log level!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\"> Read More ><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4299],"tags":[],"class_list":["post-42764","post","type-post","status-publish","format-standard","hentry","category-security"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change your ModSecurity Audit Log Level | InMotion Hosting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change your ModSecurity Audit Log Level | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"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 Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-29T15:19:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T02:21:44+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\"},\"headline\":\"How to Change your ModSecurity Audit Log Level\",\"datePublished\":\"2019-05-29T15:19:26+00:00\",\"dateModified\":\"2021-08-17T02:21:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\"},\"wordCount\":187,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\",\"name\":\"How to Change your ModSecurity Audit Log Level | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2019-05-29T15:19:26+00:00\",\"dateModified\":\"2021-08-17T02:21:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change your ModSecurity Audit Log Level\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change your ModSecurity Audit Log Level | InMotion Hosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/","og_locale":"en_US","og_type":"article","og_title":"How to Change your ModSecurity Audit Log Level | InMotion Hosting","og_description":"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 Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2019-05-29T15:19:26+00:00","article_modified_time":"2021-08-17T02:21:44+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b"},"headline":"How to Change your ModSecurity Audit Log Level","datePublished":"2019-05-29T15:19:26+00:00","dateModified":"2021-08-17T02:21:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/"},"wordCount":187,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/","url":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/","name":"How to Change your ModSecurity Audit Log Level | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2019-05-29T15:19:26+00:00","dateModified":"2021-08-17T02:21:44+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-change-your-modsecurity-audit-log-level\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Change your ModSecurity Audit Log Level"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/42764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=42764"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/42764\/revisions"}],"predecessor-version":[{"id":83506,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/42764\/revisions\/83506"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=42764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=42764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=42764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}