Mercurial > hg > nginx
diff src/core/nginx.c @ 105:00bee6e7b485
nginx-0.0.1-2003-06-15-22:32:13 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 15 Jun 2003 18:32:13 +0000 |
parents | 6dfda4cf5200 |
children | 9f9de4deda7e |
line wrap: on
line diff
--- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -41,6 +41,7 @@ int main(int argc, char *const *argv) /* 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 @@ static int ngx_open_listening_sockets(ng } if (failed) { + + /* TODO: configurable */ + ngx_log_error(NGX_LOG_EMERG, log, 0, "can not bind(), exiting"); return NGX_ERROR; }