comparison src/http/ngx_http_variables.c @ 6478:3ef7bb882ad4

Fixed logging with variable field width.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 31 Mar 2016 02:33:53 +0300
parents 48c13a0824c5
children 59f8f2dd8b31
comparison
equal deleted inserted replaced
6477:47daf95d0138 6478:3ef7bb882ad4
2426 { 2426 {
2427 ngx_http_variable_t *v; 2427 ngx_http_variable_t *v;
2428 2428
2429 v = cmcf->variables.elts; 2429 v = cmcf->variables.elts;
2430 2430
2431 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 2431 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
2432 "http regex set $%V to \"%*s\"", 2432 "http regex set $%V to \"%v\"", &v[index].name, vv);
2433 &v[index].name, vv->len, vv->data);
2434 } 2433 }
2435 #endif 2434 #endif
2436 } 2435 }
2437 2436
2438 r->ncaptures = rc * 2; 2437 r->ncaptures = rc * 2;