Mercurial > hg > nginx-vendor-0-7
diff src/http/modules/ngx_http_log_module.c @ 296:2ceaee987f37 NGINX_0_5_18
nginx 0.5.18
*) Feature: the ngx_http_sub_filter_module.
*) Feature: the "$upstream_http_..." variables.
*) Feature: now the $upstream_status and $upstream_response_time
variables keep data about all upstreams before X-Accel-Redirect.
*) Bugfix: a segmentation fault occurred in master process after first
reconfiguration and receiving any signal if nginx was built with
ngx_http_perl_module and perl did not support multiplicity; bug
appeared in 0.5.9.
*) Bugfix: if perl did not support multiplicity, then after
reconfiguration perl code did not work; bug appeared in 0.3.38.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 19 Apr 2007 00:00:00 +0400 |
parents | 704622b2528a |
children | 30862655219e |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c @@ -302,7 +302,7 @@ ngx_http_log_write(ngx_http_request_t *r log->disk_full_time = now; } - if (now - log->error_log_time > 60) { + if (now - log->error_log_time > 59) { ngx_log_error(NGX_LOG_ALERT, r->connection->log, err, ngx_write_fd_n " to \"%V\" failed", &log->file->name); @@ -313,7 +313,7 @@ ngx_http_log_write(ngx_http_request_t *r return; } - if (now - log->error_log_time > 60) { + if (now - log->error_log_time > 59) { ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, ngx_write_fd_n " to \"%V\" was incomplete: %z of %uz", &log->file->name, n, len);