| commit | be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Sun Jun 15 18:32:13 2003 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Sun Jun 15 18:32:13 2003 +0000 |
| tree | 52bcfd54a3779fd021278e28dffad5d5bd2f2f4a | |
| parent | 0915977df53c486abbc6081e1c83f9f8e7a8f111 [diff] [blame] |
nginx-0.0.1-2003-06-15-22:32:13 import
diff --git a/src/core/nginx.c b/src/core/nginx.c index 4f3be98..28b5fa9 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c
@@ -41,6 +41,7 @@ /* STUB */ ngx_log.log_level = NGX_LOG_DEBUG; #endif + log = ngx_log_init_errlog(); if (ngx_os_init(log) == NGX_ERROR) { @@ -230,6 +231,9 @@ } if (failed) { + + /* TODO: configurable */ + ngx_log_error(NGX_LOG_EMERG, log, 0, "can not bind(), exiting"); return NGX_ERROR; }