diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-08-03 16:01:36 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-08-03 16:01:36 +0000 |
commit | c42be75569adf56defbe61ac46b14a70c684cd5e (patch) | |
tree | 6960d5023e4c927861165ccdada4427cb6950e6a /src/http/modules/ngx_http_log_module.c | |
parent | 7cce1cacaace7133196cfc737a248471455f3855 (diff) | |
download | nginx-c42be75569adf56defbe61ac46b14a70c684cd5e.tar.gz nginx-c42be75569adf56defbe61ac46b14a70c684cd5e.zip |
removal of error message about %name log_format parameters,
they have been deleted long ago in 0.5.0-RELEASE
Diffstat (limited to 'src/http/modules/ngx_http_log_module.c')
-rw-r--r-- | src/http/modules/ngx_http_log_module.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c index e6a7fdbbf..b2bfbf477 100644 --- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c @@ -1055,25 +1055,6 @@ ngx_http_log_compile_format(ngx_conf_t *cf, ngx_array_t *flushes, for ( /* void */ ; s < args->nelts; s++) { - for (i = 0; i < value[s].len; i++) { - if (value[s].data[i] != '%') { - continue; - } - - ch = value[s].data[i + 1]; - - if ((ch >= 'A' && ch <= 'Z') - || (ch >= 'a' && ch <= 'z') - || ch == '{') - { - ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, - "the parameters in the \"%%name\" form are not supported, " - "use the \"$variable\" instead"); - - return NGX_CONF_ERROR; - } - } - i = 0; while (i < value[s].len) { |