nginx-0.0.3-2004-04-16-09:14:16 import
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 6b0db26..51fda1a 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1260,7 +1260,7 @@
         if (prev->err_log) {
             conf->err_log = prev->err_log;
         } else {
-            conf->err_log = cf->cycle->log;
+            conf->err_log = cf->cycle->new_log;
         }
     }