Home >Backend Development >PHP Tutorial >Will Magento use Mage::log() printing affect the web page response speed?

Will Magento use Mage::log() printing affect the web page response speed?

WBOY
WBOYOriginal
2016-09-21 14:13:061009browse

When the website was first established, the technical staff used mage::log() for debugging, but later it was not commented or deleted. As a result, the system.log file is now as large as 11MB when the website is run. What I want to ask is mage: Does :log have a big impact on the corresponding speed? Because the amount of work to clean up these image:: is a bit large. . .

Reply content:

When the website was first established, the technical staff used mage::log() for debugging, but later it was not commented or deleted. As a result, the system.log file is now as large as 11MB when the website is run. What I want to ask is mage: Does :log have a big impact on the corresponding speed? Because the amount of work to clean up these image:: is a bit large. . .

You may consider overriding this method. Make him do nothing under certain conditions

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn