  
  typedef struct ngx_http_log_op_s  ngx_http_log_op_t;
  
-@@ -51,6 +56,11 @@ typedef struct {
+@@ -52,6 +57,11 @@
      time_t                      disk_full_time;
      time_t                      error_log_time;
      ngx_http_log_fmt_t         *format;

 
         if (!(r->connection->log->log_level & NGX_LOG_DEBUG_CONNECTION)) {
             r->connection->log->log_level = clcf->error_log->log_level;
@@ -4280,17 +4283,72 @@ ngx_http_core_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
 
     ngx_str_t  *value;
 
+#if (NGX_ENABLE_SYSLOG)
+    u_char     *off = NULL;
+    ngx_int_t   syslog_on = 0;
+    ngx_str_t   name, priority;
+
+    name = priority = (ngx_str_t) ngx_null_string;
+#endif

 char *ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log);
 void ngx_cdecl ngx_log_abort(ngx_err_t err, const char *fmt, ...);
 void ngx_cdecl ngx_log_stderr(ngx_err_t err, const char *fmt, ...);
diff -urN nginx-1.2.0.orig//src/http/modules/ngx_http_log_module.c nginx-1.2.0//src/http/modules/ngx_http_log_module.c
--- nginx-1.2.0.orig//src/http/modules/ngx_http_log_module.c	2012-03-15 19:37:32.000000000 +0000
+++ nginx-1.2.0//src/http/modules/ngx_http_log_module.c	2012-04-23 17:55:27.000000000 +0000
@@ -9,6 +9,11 @@
 #include <ngx_core.h>
 #include <ngx_http.h>
 
