comparison src/core/ngx_log.c @ 616:8214eaef3530 NGINX_0_9_6

nginx 0.9.6 *) Feature: the "map" directive supports regular expressions as value of the first parameter. *) Feature: $time_iso8601 access_log variable. Thanks to Michael Lustfield.
author Igor Sysoev <http://sysoev.ru>
date Mon, 21 Mar 2011 00:00:00 +0300
parents 7ea1bba9a4f6
children 23ef0645ea57
comparison
equal deleted inserted replaced
615:02221dcea723 616:8214eaef3530
326 NGX_FILE_CREATE_OR_OPEN, 326 NGX_FILE_CREATE_OR_OPEN,
327 NGX_FILE_DEFAULT_ACCESS); 327 NGX_FILE_DEFAULT_ACCESS);
328 328
329 if (ngx_log_file.fd == NGX_INVALID_FILE) { 329 if (ngx_log_file.fd == NGX_INVALID_FILE) {
330 ngx_log_stderr(ngx_errno, 330 ngx_log_stderr(ngx_errno,
331 "[alert]: could not open error log file: " 331 "[alert] could not open error log file: "
332 ngx_open_file_n " \"%s\" failed", name); 332 ngx_open_file_n " \"%s\" failed", name);
333 #if (NGX_WIN32) 333 #if (NGX_WIN32)
334 ngx_event_log(ngx_errno, 334 ngx_event_log(ngx_errno,
335 "could not open error log file: " 335 "could not open error log file: "
336 ngx_open_file_n " \"%s\" failed", name); 336 ngx_open_file_n " \"%s\" failed", name);