diff src/core/ngx_connection.c @ 3151:ad3ddfd06e7d

low default connection errors level from alert to error
author Igor Sysoev <igor@sysoev.ru>
date Wed, 23 Sep 2009 15:28:33 +0000
parents 7b68caedea01
children a7491af45540
line wrap: on
line diff
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -917,12 +917,8 @@ ngx_connection_error(ngx_connection_t *c
             level = NGX_LOG_INFO;
             break;
 
-        case NGX_ERROR_ERR:
+        default:
             level = NGX_LOG_ERR;
-            break;
-
-        default:
-            level = NGX_LOG_ALERT;
         }
 
     } else {