diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:33:53 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-31 02:33:53 +0300 |
commit | c622ff3b44ff57663ccd67f3830a6a84d20acd8f (patch) | |
tree | 5bd2ae274324d29ee4ba5cdfac0cbfb3d9ddfa46 /src/http/ngx_http_variables.c | |
parent | 2e25f340b8848561a00993f88bdf1723b77fbabe (diff) | |
download | nginx-c622ff3b44ff57663ccd67f3830a6a84d20acd8f.tar.gz nginx-c622ff3b44ff57663ccd67f3830a6a84d20acd8f.zip |
Fixed logging with variable field width.
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r-- | src/http/ngx_http_variables.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index eaf294a12..f8271ab6d 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -2428,9 +2428,8 @@ ngx_http_regex_exec(ngx_http_request_t *r, ngx_http_regex_t *re, ngx_str_t *s) v = cmcf->variables.elts; - ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "http regex set $%V to \"%*s\"", - &v[index].name, vv->len, vv->data); + ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, + "http regex set $%V to \"%v\"", &v[index].name, vv); } #endif } |