# HG changeset patch # User Igor Sysoev # Date 1258041034 0 # Node ID dcb0d36589447f8c4a1dba6c69477a3df86f8a4c # Parent a63dd08379c4116a28b31744cc0af6ec99dfee6a do not log error if $r->variable was not found diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -902,9 +902,6 @@ variable(r, name, value = NULL) XSRETURN_UNDEF; } - ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, - "variable \"%V\" not found", &var); - XSRETURN_UNDEF; }