1

I'm working on a large Magento installation setup by another developer. Logging is disabled in the live environment which struck me as odd. While testing the code with logging enabled locally it seems it's extremely verbose, generating a huge number of DEBUG entries.

Is it possible to limit the system log to capture only higher threshold messages? If not then am I incorrect in assuming logging should be enabled on the live site?

1

Edit Mage::log method because there is no way to overwrite it.

if (is_null($level) || $level == Zend_Log::DEBUG) {
    return;
}
| improve this answer | |
0

Debug mode might be on. Go to System - Configuration - Developer - Debug and if the Profiler is set to Yes, disable it. This article is a bit old but it might help you to disable the debug mode. This post might be also usefull.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.