Mercurial > hg > nginx-vendor-0-7
comparison src/http/modules/ngx_http_log_module.c @ 266:251bcd11a5b8 NGINX_0_5_3
nginx 0.5.3
*) Feature: the ngx_http_perl_module supports the $r->status,
$r->log_error, and $r->sleep methods.
*) Feature: the $r->variable method supports variables that do not
exist in nginx configuration.
*) Bugfix: the $r->has_request_body method did not work.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 13 Dec 2006 00:00:00 +0300 |
parents | 0effe91f6083 |
children | 704622b2528a |
comparison
equal
deleted
inserted
replaced
265:3d4634b3b321 | 266:251bcd11a5b8 |
---|---|
544 log->file = ngx_conf_open_file(cf->cycle, &http_access_log); | 544 log->file = ngx_conf_open_file(cf->cycle, &http_access_log); |
545 if (log->file == NULL) { | 545 if (log->file == NULL) { |
546 return NGX_CONF_ERROR; | 546 return NGX_CONF_ERROR; |
547 } | 547 } |
548 | 548 |
549 log->disk_full_time = 0; | |
550 | |
549 lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); | 551 lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); |
550 fmt = lmcf->formats.elts; | 552 fmt = lmcf->formats.elts; |
551 | 553 |
552 /* the default "combined" format */ | 554 /* the default "combined" format */ |
553 log->ops = fmt[0].ops; | 555 log->ops = fmt[0].ops; |