Apache-2.4
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
所以,我正在回答我自己的問題,因為我發現了問題所在:)
Apache 虛擬主機配置
LogLevel
指令設置為trace6
(實際上可以在日誌的每一行中看到:)[core:trace6]
,這使得日誌非常詳細地說明了伺服器正在做什麼。降低級別使錯誤日誌輸出變得更易讀。
有關 Apache
LogLevel
指令的詳細資訊:Apache 2.4 LogLevel 文件