aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-29 07:12:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-09-29 07:12:04 +0000
commit5d1dcce2c53188e1187db722bc0f6ea12789fe5a (patch)
tree664e20987dda627d568337868814de7770cf6278 /src/http/ngx_http_request.c
parent4ca2acfce02d76260e8c7c3c7d9d6a7d9a0a3d88 (diff)
downloadnginx-5d1dcce2c53188e1187db722bc0f6ea12789fe5a.tar.gz
nginx-5d1dcce2c53188e1187db722bc0f6ea12789fe5a.zip
update log_subrequest
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 2b6002617..2be20aa0d 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1823,6 +1823,10 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
"http wake parent request: \"%V?%V\"",
&pr->uri, &pr->args);
+ if (clcf->log_subrequest) {
+ ngx_http_log_request(r);
+ }
+
pr->write_event_handler(pr);
}