nginx-0.0.2-2004-02-11-20:08:49 import
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index ad5b3aa..20c7a55 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -305,7 +305,7 @@
     c = ev->data;
     r = c->data;
 
-    ngx_log_debug(ev->log, "phase event handler");
+    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0, "phase event handler");
 
     ngx_http_run_phases(r);
 
@@ -612,19 +612,6 @@
 }
 
 
-int ngx_http_error(ngx_http_request_t *r, int error)
-{
-    /* STUB */
-    ngx_log_debug(r->connection->log, "http error: %d" _ error);
-
-    /* log request */
-
-    ngx_http_special_response_handler(r, error);
-    ngx_http_close_request(r, 0);
-    return NGX_OK;
-}
-
-
 ngx_int_t ngx_http_set_exten(ngx_http_request_t *r)
 {
     ngx_int_t  i;
@@ -706,13 +693,15 @@
     static int  on;
 
     if (on++ == 0) {
-        ngx_log_debug(r->connection->log, "SET http delay");
+        ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+                       "http set delay");
         ngx_add_timer(r->connection->write, 10000);
         return NGX_AGAIN;
     }
 
     r->connection->write->timedout = 0;
-    ngx_log_debug(r->connection->log, "RESET http delay");
+    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+                   "http reset delay");
     return NGX_DECLINED;
 }