comparison src/http/ngx_http_log_handler.c @ 215:5adc2b75f8a5

nginx-0.0.1-2003-12-22-20:27:24 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 22 Dec 2003 17:27:24 +0000
parents 00cafae0bdf1
children f1d0e5f09c1e
comparison
equal deleted inserted replaced
214:e0c502f15852 215:5adc2b75f8a5
98 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", 98 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
99 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; 99 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
100 100
101 static ngx_str_t ngx_http_combined_fmt = 101 static ngx_str_t ngx_http_combined_fmt =
102 ngx_string("%addr - - [%time] \"%request\" %status %apache_length " 102 ngx_string("%addr - - [%time] \"%request\" %status %apache_length "
103 "\"%{Referer}i\" %{User-Agent}i\""); 103 "\"%{Referer}i\" \"%{User-Agent}i\"");
104 104
105 105
106 ngx_http_log_op_name_t ngx_http_log_fmt_ops[] = { 106 ngx_http_log_op_name_t ngx_http_log_fmt_ops[] = {
107 { ngx_string("addr"), INET_ADDRSTRLEN - 1, ngx_http_log_addr }, 107 { ngx_string("addr"), INET_ADDRSTRLEN - 1, ngx_http_log_addr },
108 { ngx_string("conn"), NGX_INT32_LEN, ngx_http_log_connection }, 108 { ngx_string("conn"), NGX_INT32_LEN, ngx_http_log_connection },