[sr-dev] git:4.4:c84e8c52: kazoo: extra logs in hash lookup

GitHub noreply at github.com
Wed Jan 18 14:09:17 CET 2017


Module: kamailio
Branch: 4.4
Commit: c84e8c5269f4823a3dce078bee4afcf583d8ef44
URL: https://github.com/kamailio/kamailio/commit/c84e8c5269f4823a3dce078bee4afcf583d8ef44

Author: lazedo <luis.azedo at factorlusitano.com>
Committer: GitHub <noreply at 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/c84e8c5269f4823a3dce078bee4afcf583d8ef44.diff
Patch: https://github.com/kamailio/kamailio/commit/c84e8c5269f4823a3dce078bee4afcf583d8ef44.patch

---

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;
 	}




More information about the sr-dev mailing list