{"id":139808,"date":"2019-05-07T16:15:40","date_gmt":"2019-05-07T21:15:40","guid":{"rendered":"https:\/\/getflywheel.com\/layout\/?p=34208"},"modified":"2023-08-25T12:48:11","modified_gmt":"2023-08-25T17:48:11","slug":"wordpress-activity-logs-benefits","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/","title":{"rendered":"3 Ways a WordPress Activity Log Can Help you Troubleshoot Faster"},"content":{"rendered":"\n<p>There&#8217;s usually lots of activity going on in the background of your WordPress website. For example, drafts are updated; plugins are installed, activated, and uninstalled; WooCommerce products\u2019 metadata is updated; and much more. The more people you have accessing your dashboard, the higher the likelihood of errors will be\u2014and pinpointing the source of them can be a headache. <\/p>\n\n\n\n<p>The obvious solution is to keep track of every action taking place on your website. With WordPress, you can do this by installing the <a href=\"https:\/\/melapress.com\/wordpress-activity-log\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Activity Log<\/a> plugin by <a href=\"https:\/\/melapress.com\/\">Melapress<\/a>\u2014it keeps a record of all changes in an audit log. This will give you an easily-digestible record of site activity, which is fantastic for troubleshooting.<\/p>\n\n\n\n<p>In this article, we&#8217;re going to talk a bit more about what activity logs are, how they work, and what their benefits are. Then, we\u2019ll discuss situations when having a WordPress activity log could make your life a lot easier!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are WordPress Activity Logs? <\/h2>\n\n\n\n<p>In short, activity logs are simple records of the actions taken on your website. For example, you can view every time someone edits a page, logs into your website, or makes a variety of changes. Activity logs are useful for troubleshooting and knowing who\u2019s doing what on your website. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/wordpress-activity-log-784x401.png\" alt=\"A screenshot of a WordPress activity log\" class=\"wp-image-34291\" \/><figcaption class=\"wp-element-caption\">An example of a WordPress activity log<\/figcaption><\/figure>\n\n\n\n<p>Activity logs are great for a multitude of situations (more on this later). When a problem arises, you&#8217;ll be glad that you have the activity logs to help you trace back the source of the issue.<\/p>\n\n\n\n<p>WordPress doesn&#8217;t have any built-in activity logs, however, so you&#8217;ll need a WordPress activity log plugin, such as <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/wp-security-audit-log\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Activity Log<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"304\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2023\/08\/wp-activity-log.png\" alt=\"a screenshot of the feature image used for the WP Activity Log listing in the WordPress Plugin Directory\" class=\"wp-image-145905\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2023\/08\/wp-activity-log.png 940w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2023\/08\/wp-activity-log-540x175.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2023\/08\/wp-activity-log-768x248.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<p>With the right plugin, you&#8217;ll be able to pick and choose exactly what kind of events the plugin should keep a log of. Plus, you can also set up email notifications, so you\u2019ll get alerts when something important happens and reduce the time it takes to check logs manually.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3 Scenarios You&#8217;ll be Grateful to Have a WordPress Activity Log<\/h2>\n\n\n\n<p>Admittedly, having an activity log isn&#8217;t often a primary concern for many site owners launching a new WordPress website. However, it <em>should<\/em> be, and we&#8217;ll now walk you through three situations to help illustrate this.<\/p>\n\n\n\n<p><strong>WordPress activity logs are incredibly useful when: <\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#site-error\">You\u2019re looking for the cause of a site error<\/a><\/li>\n\n\n\n<li><a href=\"#security-breach\">You need to pinpoint a security breach<\/a><\/li>\n\n\n\n<li><a href=\"#team\">You\u2019re collaborating on a team and need to know who\u2019s doing what<\/a><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/2019_05_03_3-ways-a-WordPress-activity-log-can-troubleshoot-better-03-784x417.jpg\" alt=\"An error message on a computer screen\" class=\"wp-image-34388\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"site-error\">1. Looking for the Cause of a Site Error<\/h3>\n\n\n\n<p>WordPress websites have a lot of moving parts, even if it doesn&#8217;t seem that way. For example, most WordPress sites use multiple plugins, and either adding a new one or performing an update can affect your site&#8217;s functionality if there\u2019s a plugin conflict under the hood. This is also similar with themes.<\/p>\n\n\n\n<p>Unfortunately, these problems are hard to diagnose, and user engagement can be affected depending on the exact error. (Ever seen the white screen of death?) As such, you need to troubleshoot the issue immediately.<\/p>\n\n\n\n<p>An activity log can help you trace back the source of the error. For example, consider a homepage that has stopped loading. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/homepage-500-error.png\" alt=\"A Reddit 500 message with the Reddit mascot on crutches \" class=\"wp-image-34293\" \/><\/figure>\n\n\n\n<p>You <em>know<\/em> it was working a day ago, and the error doesn&#8217;t seem to be an issue with your host. With an activity log in your hand, you can dive in and check the activity leading up to your discovery. For example, if you see that a theme or plugin had been updated within the past 12 hours, it could be the source of the error and will warrant further investigation.<\/p>\n\n\n\n<p>In this case, you could disable the plugin temporarily, replace it with another one, or revert your site to an earlier backup. The benefit from the activity log is that you can act more quickly to resolve errors, without guessing at the issue.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/2019_05_03_3-ways-a-WordPress-activity-log-can-troubleshoot-better-02-784x417.jpg\" alt=\"\" class=\"wp-image-34387\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"security-breach\">2. Pinpointing the Source of a Security Breach<\/h3>\n\n\n\n<p>WordPress is by far the world&#8217;s favorite Content Management System (CMS), in part because it\u2019s inherently fairly secure. The problem is, this bright spotlight means WordPress is a prime target for attacks.<\/p>\n\n\n\n<p>This means you need to take steps to secure your website from people with malicious intent. As an example, consider someone with dashboard access <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wptavern.com\/wpml-alleges-former-employee-breached-website-and-took-customer-emails\" target=\"_blank\">wreaking havoc<\/a> on your site.<\/p>\n\n\n\n<p>It could be that the credentials of another team member fell into their hands. Aside from teaching others about good \u201cpassword hygiene\u201d and WordPress security best practices, you&#8217;ll need to figure out which account was compromised.<\/p>\n\n\n\n<p>An activity log makes this part a breeze\u2014simply check out who&#8217;s recently logged into WordPress. You could also check every action logged-in users have made. For example, if someone edited a page or deleted an article, the activity log would explicitly show it.<\/p>\n\n\n\n<p>Once you\u2019ve discovered the compromised account and the reasoning behind it, you can proceed accordingly. The main takeaway is that armed with the right information (thanks to a WordPress activity log), solving the problem becomes much simpler.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/2019_05_03_3-ways-a-WordPress-activity-log-can-troubleshoot-better-04-784x417.jpg\" alt=\"\" class=\"wp-image-34389\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"team\">3. Collaborating on a Team so you can Know Who\u2019s Doing What<\/h3>\n\n\n\n<p>Sometimes, you&#8217;ll change something on your website only to find out it had a negative effect somewhere else. For an example, consider running an online store as part of a team.<\/p>\n\n\n\n<p>If a colleague changes your WooCommerce store&#8217;s configuration, it could introduce aspects such as unprocessed payments, leading your team to spend time rooting out the cause of the issue. Alternatively, maybe you need to know who processed a specific order, or changed the price of a product.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/woocommerce-activity-log.png\" alt=\"A WooCommerce activity log \" class=\"wp-image-34294\" \/><\/figure>\n\n\n\n<p>Of course, the greater the downtime due to a persistent problem, the more money you&#8217;re losing. With an activity log for WooCommerce, however, the process should only take minutes to track down. A quick glance at the logs will tell you which colleague began tinkering with your site&#8217;s configuration.<\/p>\n\n\n\n<p>Depending on the data you have access to, you could even see the exact changes being made. Regardless, just knowing where the mistake originated can be enough, since you can go directly to your teammate and ask them more about it. <\/p>\n\n\n\n<p>In a nutshell, the more people who work on a website, the greater the number of changes \u2013 sometimes with negative consequences. However, an audit log plugin with extensive coverage and comprehensive logs will help you keep track of every action, and give you the opportunity to fix things faster.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Conclusion<\/h1>\n\n\n\n<p>WordPress audit logs can sometimes feel like overkill, but when something goes wrong, it&#8217;s incredibly helpful to have records of the most recent actions on your site. With this information, troubleshooting technical issues becomes much simpler.<\/p>\n\n\n\n<p>Just to give you an idea of how helpful a <a href=\"https:\/\/wordpress.org\/plugins\/wp-security-audit-log\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress activity log<\/a> can be, here are three examples of situations where using one could save you a lot of trouble:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>When something on your website breaks.<\/li>\n\n\n\n<li>During security breaches.<\/li>\n\n\n\n<li>For keeping track of changes to your website.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s usually lots of activity going on in the background of your WordPress website. For example, drafts are updated; plugins are installed, activated, and uninstalled; WooCommerce products\u2019 metadata is updated; and much more. The more people you have accessing your dashboard, the higher the likelihood of errors will be\u2014and pinpointing the source of them can<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","resource-topic":[901],"resource-role":[899],"resource-type":[916],"class_list":["post-139808","resource","type-resource","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>3 Ways a WordPress Activity Log Can Help You Troubleshoot<\/title>\n<meta name=\"description\" content=\"In this article, I&#039;m going to talk a bit more about what activity logs are, how they work, and what their benefits are.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"3 Ways a WordPress Activity Log Can Help You Troubleshoot\" \/>\n<meta property=\"og:description\" content=\"In this article, I&#039;m going to talk a bit more about what activity logs are, how they work, and what their benefits are.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-25T17:48:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/wordpress-activity-log-784x401.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/\",\"name\":\"3 Ways a WordPress Activity Log Can Help You Troubleshoot\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2019-05-07T21:15:40+00:00\",\"dateModified\":\"2023-08-25T17:48:11+00:00\",\"description\":\"In this article, I'm going to talk a bit more about what activity logs are, how they work, and what their benefits are.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"3 Ways a WordPress Activity Log Can Help you Troubleshoot Faster\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085\",\"name\":\"WP Engine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"caption\":\"WP Engine\"},\"sameAs\":[\"https:\/\/wpengine.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"3 Ways a WordPress Activity Log Can Help You Troubleshoot","description":"In this article, I'm going to talk a bit more about what activity logs are, how they work, and what their benefits are.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"3 Ways a WordPress Activity Log Can Help You Troubleshoot","og_description":"In this article, I'm going to talk a bit more about what activity logs are, how they work, and what their benefits are.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2023-08-25T17:48:11+00:00","og_image":[{"url":"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/05\/wordpress-activity-log-784x401.png"}],"twitter_card":"summary_large_image","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/","name":"3 Ways a WordPress Activity Log Can Help You Troubleshoot","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2019-05-07T21:15:40+00:00","dateModified":"2023-08-25T17:48:11+00:00","description":"In this article, I'm going to talk a bit more about what activity logs are, how they work, and what their benefits are.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-activity-logs-benefits\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"3 Ways a WordPress Activity Log Can Help you Troubleshoot Faster"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085","name":"WP Engine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","caption":"WP Engine"},"sameAs":["https:\/\/wpengine.com"]}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/themes\/wpengine-breakthrough\/images\/fallback\/default-grid-resource.jpg","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Site Owner","topic":"<strong>Topics:<\/strong> WordPress","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/139808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=139808"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=139808"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=139808"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=139808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}