aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_log_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-12 13:44:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-09-12 13:44:10 +0000
commit0f8ea4de461b5fc54b69e09364c94b066363c0c9 (patch)
tree1fac4803d4aff3f2c0a5031acebd7d0f7714fe25 /src/http/modules/ngx_http_log_module.c
parent77cdae1814d6d359febee8c85edd1f2671869db4 (diff)
downloadnginx-0f8ea4de461b5fc54b69e09364c94b066363c0c9.tar.gz
nginx-0f8ea4de461b5fc54b69e09364c94b066363c0c9.zip
disable directio for access_log with variables
Diffstat (limited to 'src/http/modules/ngx_http_log_module.c')
-rw-r--r--src/http/modules/ngx_http_log_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c
index 4448363c5..775279c88 100644
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -430,6 +430,7 @@ ngx_http_log_script_write(ngx_http_request_t *r, ngx_http_log_script_t *script,
of.log = 1;
of.valid = llcf->open_file_cache_valid;
of.min_uses = llcf->open_file_cache_min_uses;
+ of.directio = NGX_MAX_OFF_T_VALUE;
if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool)
!= NGX_OK)