我正在查看我们 Web 服务器的一个开源项目的错误日志。我看到以下条目重复出现:
$ cat /var/log/httpd/error_log-20160522 | grep "digest"
[Mon May 16 08:11:29.004792 2016] [auth_digest:notice] [pid 20628] AH01757: generating secret for digest authentication ...
[Thu May 19 09:45:18.519977 2016] [auth_digest:notice] [pid 12588] AH01757: generating secret for digest authentication ...
[Thu May 19 09:47:10.331913 2016] [auth_digest:notice] [pid 128] AH01757: generating secret for digest authentication ...
[Thu May 19 14:59:26.211893 2016] [auth_digest:notice] [pid 7102] AH01757: generating secret for digest authentication ...
...
配置文件为/etc/httpd/conf/httpd.conf
。LogLevel
设置为LogLevel warn
。ErrorLog
设置为"logs/error_log"
。
Apache 报告的错误到底是什么?我该如何修复它?
$ hostnamectl
...
Virtualization: openvz
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 2.6.32-042stab113.17
Architecture: x86-64
$ apachectl -V
Server version: Apache/2.4.6 (CentOS)
Server built: May 12 2016 10:27:23
...
答案1
忽略它,它只是信息性的,不会报告任何错误。它在 2.5.x(主干)中已被降级为 DEBUG 级别,这意味着您将不会在以后的版本中看到它。
我将尝试将日志级别的更改移植到 2.4.x