By default Magento logs notices, warnings and errors into the system.log
file. Is it possible to restrict the log level so that Magento doesn't log PHP notices?
Magento's Mage::log()
method offers the option to set the log level by providing, e.g. Zend_Log::DEBUG
as a parameter, and it'd be great to suppress logging of PHP notices.
ps. I do know that fixing the code producing the errors would be recommended, but the errors originate from third-party code and extensions, so that'd be impossible to manage.