Magento的日志文件在哪里? [英] Where are Magento's log files located?
问题描述
我是Magento的新手.我在Magento中找不到日志文件.我用谷歌搜索,但是 Magento Commerce 网站返回关闭状态,而其他一些网站则说明了如何创建自定义日志文件.我想知道内置日志文件的位置.
I am new to Magento. I can't find log files in Magento. I googled it, but the Magento Commerce site returns closed and some other sites explain how to create custom log files. I want to know the location of built-in log files.
推荐答案
您可以在Magento根目录安装的/var/log
中找到它们
You can find them in /var/log
within your root Magento installation
默认情况下,通常会有两个文件,exception.log
和system.log
.
There will usually be two files by default, exception.log
and system.log
.
如果目录或文件不存在,请创建它们并赋予它们正确的权限,然后通过转到System > Configuration > Developer > Log Settings > Enabled = Yes
If the directories or files don't exist, create them and give them the correct permissions, then enable logging within Magento by going to System > Configuration > Developer > Log Settings > Enabled = Yes
这篇关于Magento的日志文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!