Mercurial > hg > nginx
changeset 1161:6002e0253221
use 60 seconds interval but not 61 seconds
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Apr 2007 21:54:13 +0000 |
parents | 188e30f21038 |
children | f59d15404269 |
files | src/http/modules/ngx_http_log_module.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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);