From c84e8c5269f4823a3dce078bee4afcf583d8ef44 Mon Sep 17 00:00:00 2001 From: lazedo Date: Wed, 18 Jan 2017 08:45:14 +0000 Subject: [PATCH] kazoo: extra logs in hash lookup --- modules/kazoo/kz_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/kazoo/kz_hash.c b/modules/kazoo/kz_hash.c index 29da9bb21b7..bb939e86537 100644 --- a/modules/kazoo/kz_hash.c +++ b/modules/kazoo/kz_hash.c @@ -153,7 +153,7 @@ kz_amqp_cmd_ptr kz_cmd_retrieve(str* message_id) p = kz_search_cmd_table(message_id, hash_code); if(p== NULL) { - LM_DBG("command pointer hash entry not found\n"); + LM_DBG("command pointer hash entry not found - %s\n", message_id->s); lock_release(&kz_cmd_htable[hash_code].lock); return NULL; } @@ -167,7 +167,7 @@ kz_amqp_cmd_ptr kz_cmd_retrieve(str* message_id) } if(prev_p->next== NULL) { - LM_ERR("command pointer not found\n"); + LM_ERR("command pointer not found - %s\n", message_id->s); lock_release(&kz_cmd_htable[hash_code].lock); return NULL; }