Mercurial > hg > nginx-quic
comparison src/core/ngx_log.c @ 493:975f62e77f02 release-0.1.21
nginx-0.1.21-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 14:40:13 +0000 |
parents | 621229427cba |
children | 64d9afb209da |
comparison
equal
deleted
inserted
replaced
492:a3fac9a5aa5b | 493:975f62e77f02 |
---|---|
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); |