Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_log.c @ 42:41ccba1aba45 NGINX_0_1_21
nginx 0.1.21
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics
if "rtsig" method was used or if several worker process ran on SMP.
*) Bugfix: nginx could not be built by the icc compiler on Linux or if
the zlib-1.2.x library was building from sources.
*) Bugfix: nginx could not be built on NetBSD 2.0.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 00:00:00 +0300 |
parents | da8c190bdaba |
children | 6cfc63e68377 |
comparison
equal
deleted
inserted
replaced
41:4d8e7a81b3a0 | 42:41ccba1aba45 |
---|---|
85 | 85 |
86 /* pid#tid */ | 86 /* pid#tid */ |
87 p = ngx_sprintf(p, "%P#" NGX_TID_T_FMT ": ", ngx_log_pid, ngx_log_tid); | 87 p = ngx_sprintf(p, "%P#" NGX_TID_T_FMT ": ", ngx_log_pid, ngx_log_tid); |
88 | 88 |
89 if (log->connection) { | 89 if (log->connection) { |
90 p = ngx_sprintf(p, "*%ui ", log->connection); | 90 p = ngx_sprintf(p, "*%uA ", log->connection); |
91 } | 91 } |
92 | |
93 #if 0 | |
94 if (log->data && *(int *) log->data != -1) { | |
95 p = ngx_sprintf(p, "*%ud ", *(u_int *) log->data); | |
96 } | |
97 #endif | |
98 | 92 |
99 #if (NGX_HAVE_VARIADIC_MACROS) | 93 #if (NGX_HAVE_VARIADIC_MACROS) |
100 | 94 |
101 va_start(args, fmt); | 95 va_start(args, fmt); |
102 p = ngx_vsnprintf(p, last - p, fmt, args); | 96 p = ngx_vsnprintf(p, last - p, fmt, args); |