Allows you to disable Magento's debug logging to /var/log/debug.log. Saving disk space on production servers. Re-enable with a toggle in your backend.
OverviewBack to top
Disable Debug Log allows you to disable debug logging. In some cases there are limitations to hard disk space in regard to the hosting for your Magento product. Disabling the debug logging will save up hard disk space. Looking at a Production setup from a DTAP (Development, Testing, Acceptance and Production) perspective, it is not needed to log all debug information after the development process has been finished. However you are of course free to re-enable debug logging whenever you want to and you can do so with Disable Debug Log.
Our extensions will help you with disabling the debug log of your Magento installation without having to take any difficult or technical approach. There is no configuration for this plugin whatsoever besides a simple toggle. When active it will disable the debug log, when needed flipping the toggle in the backend will re-enable the debug.log as normal.
- Disable debug logging to the debug.log file.
- A simple toggle to enable / disable the debug log whenever you deem it fit.
- Save hard disk space.
Frequently Asked Questions
- Why did LanthopusX create Disable Debug Log?
Magento's own advise is to setup a cron to keep removing the debug.log every now and again but that means that in some cases you need to;
- contact your hosting provider (if you do not have cron access yourself), or your developer (if you don't know what a cron is in the first place)
- login in some sort of elevated fashion (through for instance ssh or on a control panel of sorts)
As you can imagine, not everybody has the needed skills or credentials and we want to offer a simple but direct solution for everyone, that just straight out works without any hassle!
- Why would you want to disable the Debug Log?
The main reason is to simply conserve space on your server. With this extension you disable writing into the "debug.log".
Normally when development has been concluded you don't need to be writing away this information anyway.
- Why is this needed to do on a Magento installation?
By default, Magento writes a lot of actions into the "debug.log" file.
And as time progresses, this file can become rather large and occupy space on your server which is a shame as you can use these resources in a better way.
Normally when development has finished, these logs are not really needed anymore. With Disable Debug Log you can simply disable it.
- Can I re-enable the debug logging?
Yes, you can re-enable debug logging by switching the toggle of the plugin to the off state. Which you are of course free to do, you can just re-enable it do disable the debug log later on.
Release NotesBack to top
- Compatible with CE: 2.0 2.1 2.2
- Stability: Stable Build
- initial release