nginx-0.0.1-2003-07-10-20:26:57 import
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 60a9fcf..0601f3f 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -1061,10 +1061,9 @@ value = cf->args->elts; - ngx_test_null(lcf->err_log, ngx_log_create_errlog(cf->cycle), + ngx_test_null(lcf->err_log, + ngx_log_create_errlog(cf->cycle, &value[1]), NGX_CONF_ERROR); - lcf->err_log->file->name = value[1]; - return NGX_CONF_OK; }