我怎样才能不在 apache 错误日志中记录通知?

我怎样才能不在 apache 错误日志中记录通知?

我定期检查 Apache 错误日志。我只想查看实际存在的问题。

在我的 httpd.conf 文件中,我有LogLevel warn。我在系统上执行了 grep 来查找可能设置不同的任何其他位置,但它们都处于警告级别。

以下“错误”被重复记录,这使得很难找到实际问题。

[Sun Jan 21 03:37:07.686531 2018] [auth_digest:notice] [pid 1109] AH01757: generating secret for digest authentication ...
[Sun Jan 21 03:37:07.713539 2018] [lbmethod_heartbeat:notice] [pid 1109] AH02282: No slotmem from mod_heartmonitor
[Sun Jan 21 03:37:09.575654 2018] [mpm_prefork:notice] [pid 1109] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.6.33 configured -- resuming normal operations
[Sun Jan 21 03:37:09.575677 2018] [core:notice] [pid 1109] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Jan 22 09:34:42.928196 2018] [mpm_prefork:notice] [pid 1109] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Jan 22 09:37:56.685298 2018] [suexec:notice] [pid 1127] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

相关内容