Coming up: 23 Sep - Magento 2 Technical Architecture training

Yireo - Trainings & extensions

Open main menu

Magento has the feature of logging every request to its database, giving you insight into your visitors behaviour. But this is also including search-engines and if you are using a tool like Google Analytics, this logging is pointless. Learn how to disable it.

Disable Mage_Log?

Within the Magento System Configuration under the Advanced tab, you have the option to disable the output of various Magento modules. Many Magento users think this actually disables the module. It does not. It only disables the output of that module. Logging is not considered output.

The proper way to disable the Mage_Log module would be to locate its XML-definition in the folder app/etc/modules and set the flag active to false. If you do that, your Magento site will crash. So don't do that. It doesn't work.

Disable logging in the Developer section?

Within the Magento System Configuration under the Developer tab, there is also an option to disable logging. While it is a bit confusing, this is an entirely different type of logging: This logging is ment for developers, so debugging usage, while the logging we refer to in this blog is the logging of visitor-data for statistical usage. The two are not related.

The solution: Our DisableLog extension

The only real solution is to modify the Magento core. But instead of you hacking into the core, you can simply use our extension to do all the hard work for you: Our DisableLog extension allows you to quickly disable logging. And you have the choice. You can disable logging for all your visitors (if you are using Google Analytics or Piwik or something alike) or for just search-engines (if you don't want search-engines to flood your statistics).

Hope you find this useful.

Written on 9 June 2013 by Jisse Reitsma

About the author

Jisse Reitsma is the founder of Yireo, extension developer, developer trainer and two times Magento Master. His passion is for technology and open source. And he loves talking as well.

Looking for a training in-house?

Let's get to it!

Proud member of

  Latest blog


Legal information

Other Yireo sites

Get Social

About Yireo