Module: kamailio
Branch: 4.4
Commit: c84e8c5269f4823a3dce078bee4afcf583d8ef44
URL:
https://github.com/kamailio/kamailio/commit/c84e8c5269f4823a3dce078bee4afcf…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-01-18T08:45:14Z
kazoo: extra logs in hash lookup
---
Modified: modules/kazoo/kz_hash.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c84e8c5269f4823a3dce078bee4afcf…
Patch:
https://github.com/kamailio/kamailio/commit/c84e8c5269f4823a3dce078bee4afcf…
---
diff --git a/modules/kazoo/kz_hash.c b/modules/kazoo/kz_hash.c
index 29da9bb..bb939e8 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;
}