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

WBOY
Release: 2016-09-21 14:13:06
Original
945 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!