changeset 2149:deaa4cabecdc

update debug logging
author Igor Sysoev <igor@sysoev.ru>
date Mon, 04 Aug 2008 21:51:36 +0000
parents 071bc0fc1459
children 50cede290146
files src/core/ngx_hash.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/ngx_hash.c
+++ b/src/core/ngx_hash.c
@@ -88,6 +88,10 @@ ngx_hash_find_wc_head(ngx_hash_wildcard_
 
     value = ngx_hash_find(&hwc->hash, key, &name[n], len - n);
 
+#if 0
+    ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "value:\"%p\"", value);
+#endif
+
     if (value) {
 
         /*
@@ -569,10 +573,6 @@ ngx_hash_wildcard_init(ngx_hash_init_t *
 
             if (names[n].key.len == len) {
                 wdc->value = names[n].value;
-#if 0
-                ngx_log_error(NGX_LOG_ALERT, hinit->pool->log, 0,
-                              "wdc: \"%V\"", wdc->value);
-#endif
             }
 
             name->value = (void *) ((uintptr_t) wdc | (dot ? 1 : 3));