aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/http/ngx_http_file_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 806364871..1e80a39ee 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -251,6 +251,7 @@ ngx_http_file_cache_open(ngx_http_request_t *r)
"http file cache fd: %d", of.fd);
c->file.fd = of.fd;
+ c->file.log = r->connection->log;
c->buf = ngx_create_temp_buf(r->pool, c->body_start);
if (c->buf == NULL) {