change ngx_log_create_errlog() interface
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 26f24b3..3162d39 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -4101,7 +4101,11 @@
{
ngx_http_core_loc_conf_t *lcf = conf;
- lcf->err_log = ngx_log_create_errlog(cf->cycle, cf->args);
+ ngx_str_t *value;
+
+ value = cf->args->elts;
+
+ lcf->err_log = ngx_log_create_errlog(cf->cycle, &value[1]);
if (lcf->err_log == NULL) {
return NGX_CONF_ERROR;
}