aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-20 06:08:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-20 06:08:47 +0000
commitbd91999ea577266b0d899ea206cdaa8d19f486b2 (patch)
tree6936e209210662a34db4f9b9c63d03b95e7d9956 /src/core/ngx_log.c
parentb533e9825295a0855d78912dae9d8f1180df0900 (diff)
downloadnginx-bd91999ea577266b0d899ea206cdaa8d19f486b2.tar.gz
nginx-bd91999ea577266b0d899ea206cdaa8d19f486b2.zip
Win32 master/workers model
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r--src/core/ngx_log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
index 35a24172e..8769bcdc6 100644
--- a/src/core/ngx_log.c
+++ b/src/core/ngx_log.c
@@ -227,9 +227,9 @@ ngx_log_init(void)
NGX_FILE_DEFAULT_ACCESS);
if (ngx_stderr.fd == NGX_INVALID_FILE) {
- ngx_message_box("nginx", MB_OK, ngx_errno,
- "Could not open error log file: "
- ngx_open_file_n " \"" NGX_ERROR_LOG_PATH "\" failed");
+ ngx_event_log(ngx_errno,
+ "Could not open error log file: "
+ ngx_open_file_n " \"" NGX_ERROR_LOG_PATH "\" failed");
return NULL;
}