714
edits
No edit summary Tag: 2017 source edit |
|||
| Line 43: | Line 43: | ||
=其他不常见的系统日志= | =其他不常见的系统日志= | ||
==Webserver logs== | |||
===Apache=== | |||
请注意,除了syslog模块之外,您还可以在Apache日志中找到PHP/Apache技术错误(无论syslog模块的状态/配置如何)。但这仅发生在安装或环境的技术问题上。一个正常工作的 Dolibarr 应用程序永远不会显示这些文件中的任何内容。在标准的 Linux 系统上,这些痕迹可以在 '''/var/log/apache[2]/[dolibarr]-error.log''' 文件中看到。您可以使用以下命令从终端实时查看它们: | 请注意,除了syslog模块之外,您还可以在Apache日志中找到PHP/Apache技术错误(无论syslog模块的状态/配置如何)。但这仅发生在安装或环境的技术问题上。一个正常工作的 Dolibarr 应用程序永远不会显示这些文件中的任何内容。在标准的 Linux 系统上,这些痕迹可以在 '''/var/log/apache[2]/[dolibarr]-error.log''' 文件中看到。您可以使用以下命令从终端实时查看它们: | ||
<syntaxhighlight lang="bash">tail -f /var/log/apache2/dolibarr-error.log</syntaxhighlight> | <syntaxhighlight lang="bash">tail -f /var/log/apache2/dolibarr-error.log</syntaxhighlight> | ||
==Nginx== | ===Nginx=== | ||
If you are using nginx to serve Dolibarr some useful debugging information is often to be found there. | If you are using nginx to serve Dolibarr some useful debugging information is often to be found there. | ||
<syntaxhighlight lang="bash">tail -f /var/log/nginx/error.log</syntaxhighlight> | <syntaxhighlight lang="bash">tail -f /var/log/nginx/error.log</syntaxhighlight> | ||
edits