  
      if (cf->args->nelts >= 3) {
          name = value[2];
-diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
-index 597b64c..d45beb7 100644
---- a/src/http/ngx_http_core_module.c
-+++ b/src/http/ngx_http_core_module.c
-@@ -1393,6 +1393,9 @@ ngx_http_update_location_config(ngx_http_request_t *r)
+diff -urN nginx-1.2.0.orig//src/http/ngx_http_core_module.c nginx-1.2.0//src/http/ngx_http_core_module.c
+--- nginx-1.2.0.orig//src/http/ngx_http_core_module.c	2012-04-19 15:48:03.000000000 +0000
++++ nginx-1.2.0//src/http/ngx_http_core_module.c	2012-04-23 17:55:40.000000000 +0000
+@@ -1450,6 +1450,9 @@
  
      if (r == r->main) {
          r->connection->log->file = clcf->error_log->file;

 
     if (cf->cycle->new_log.file) {
         return "is duplicate";
@@ -431,7 +567,44 @@ ngx_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
 
     value = cf->args->elts;
 

 };
 
 
@@ -221,6 +235,10 @@
 
 ngx_log_t *ngx_log_init(u_char *prefix);
 ngx_log_t *ngx_log_create(ngx_cycle_t *cycle, ngx_str_t *name);
