aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_limit_conn_module.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
committerSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
commit00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc (patch)
tree626c5e25054a4d4f96e58efd2da07343ae58bd80 /src/http/modules/ngx_http_limit_conn_module.c
parent53fec2c4149028c8d30ce58d79674502358da773 (diff)
downloadnginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.tar.gz
nginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.zip
Fixed logging.
Diffstat (limited to 'src/http/modules/ngx_http_limit_conn_module.c')
-rw-r--r--src/http/modules/ngx_http_limit_conn_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_limit_conn_module.c b/src/http/modules/ngx_http_limit_conn_module.c
index 4379311ca..913d59934 100644
--- a/src/http/modules/ngx_http_limit_conn_module.c
+++ b/src/http/modules/ngx_http_limit_conn_module.c
@@ -232,7 +232,7 @@ ngx_http_limit_conn_handler(ngx_http_request_t *r)
}
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "limit conn: %08XD %d", node->key, lc->conn);
+ "limit conn: %08Xi %d", node->key, lc->conn);
ngx_shmtx_unlock(&shpool->mutex);
@@ -351,7 +351,7 @@ ngx_http_limit_conn_cleanup(void *data)
ngx_shmtx_lock(&shpool->mutex);
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, lccln->shm_zone->shm.log, 0,
- "limit conn cleanup: %08XD %d", node->key, lc->conn);
+ "limit conn cleanup: %08Xi %d", node->key, lc->conn);
lc->conn--;