Module: kamailio
Branch: master
Commit: 0923baa48edb1f4064bec4f6eea420073c8f5b7c
URL:
https://github.com/kamailio/kamailio/commit/0923baa48edb1f4064bec4f6eea4200…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-01-18T09:31:08Z
kazoo: add msgid to hash logging
---
Modified: src/modules/kazoo/kz_hash.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0923baa48edb1f4064bec4f6eea4200…
Patch:
https://github.com/kamailio/kamailio/commit/0923baa48edb1f4064bec4f6eea4200…
---
diff --git a/src/modules/kazoo/kz_hash.c b/src/modules/kazoo/kz_hash.c
index 16f92c2..00bea4e 100644
--- a/src/modules/kazoo/kz_hash.c
+++ b/src/modules/kazoo/kz_hash.c
@@ -181,7 +181,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;
}
@@ -195,7 +195,7 @@ kz_amqp_cmd_ptr kz_cmd_retrieve(str* message_id)
}
if(prev_p->next== NULL)
{
- LM_ERR("command pointer 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;
}