core_output_filter:由于 FLUSH 存储桶而刷新 - 为什么我在 Apache 错误日志中看到这个?

core_output_filter:由于 FLUSH 存储桶而刷新 - 为什么我在 Apache 错误日志中看到这个?

有人知道为什么我总是core_output_filter: flushing because of FLUSH bucket在 Apache 2.4.7(Ubuntu)错误日志中看到它,这是什么意思?

到目前为止我还没有发现任何问题,但它确实让我的阅读变得更加困难error.log。日志始终如下所示:

    [Mon Apr 23 09:22:34.927673 2018] [core:trace6] [pid 6096] core_filters.c(527): [client 127.0.0.1:40876] core_output_filter: flushing because of FLUSH bucket
    [Mon Apr 23 09:22:34.927793 2018] [core:trace6] [pid 6159] core_filters.c(527): [client 127.0.0.1:40868] core_output_filter: flushing because of FLUSH bucket
    [Mon Apr 23 09:22:34.927892 2018] [core:trace6] [pid 6160] core_filters.c(527): [client 127.0.0.1:40870] core_output_filter: flushing because of FLUSH bucket
    [Mon Apr 23 09:22:35.160482 2018] [core:trace6] [pid 6092] core_filters.c(527): [client 127.0.0.1:40866] core_output_filter: flushing because of FLUSH bucket
    [Mon Apr 23 09:24:07.472559 2018] [core:trace5] [pid 6161] protocol.c(655): [client 127.0.0.1:40888] Request received from client: POST /index.php?module=000100 HTTP/1.1
    [Mon Apr 23 09:24:07.721570 2018] [core:trace6] [pid 6161] core_filters.c(527): [client 127.0.0.1:40888] core_output_filter: flushing because of FLUSH bucket
    [Mon Apr 23 09:24:12.725587 2018] [core:trace6] [pid 6161] core_filters.c(527): [client 127.0.0.1:40888] core_output_filter: flushing because of FLUSH bucket
    [Mon Apr 23 09:29:07.829907 2018] [core:trace5] [pid 6093] protocol.c(655): [client 127.0.0.1:41056] Request received from client: POST /index.php?module=000100 HTTP/1.1
    [Mon Apr 23 09:29:07.986466 2018] [core:trace6] [pid 6093] core_filters.c(527): [client 127.0.0.1:41056] core_output_filter: flushing because of FLUSH bucket
    [Mon Apr 23 09:29:12.990794 2018] [core:trace6] [pid 6093] core_filters.c(527): [client 127.0.0.1:41056] core_output_filter: flushing because of FLUSH bucket

答案1

因此,我正在回答我自己的问题,因为我已经发现问题所在:)

Apache 虚拟主机配置LogLevel指令被设置为trace6(实际上可以在日志的每一行中看到:)[core:trace6],这使得日志非常详细地显示服务器正在执行的操作。

降低级别使错误日志输出变得更易于阅读。

有关 ApacheLogLevel指令的详细信息:Apache 2.4 LogLevel 文档

相关内容