[sr-dev] git:master:1481e44c: kazoo : change log level on correlated message handling
Luis Azedo
luis.azedo at factorlusitano.com
Sat Jun 27 14:15:27 CEST 2015
Module: kamailio
Branch: master
Commit: 1481e44c41e592cfdfec7ad1ce4194973f272eb7
URL: https://github.com/kamailio/kamailio/commit/1481e44c41e592cfdfec7ad1ce4194973f272eb7
Author: Luis Azedo <luis.azedo at factorlusitano.com>
Committer: Luis Azedo <luis.azedo at factorlusitano.com>
Date: 2015-06-27T13:15:10+01:00
kazoo : change log level on correlated message handling
---
Modified: modules/kazoo/kz_amqp.c
---
Diff: https://github.com/kamailio/kamailio/commit/1481e44c41e592cfdfec7ad1ce4194973f272eb7.diff
Patch: https://github.com/kamailio/kamailio/commit/1481e44c41e592cfdfec7ad1ce4194973f272eb7.patch
---
diff --git a/modules/kazoo/kz_amqp.c b/modules/kazoo/kz_amqp.c
index f5152ee..47c8527 100644
--- a/modules/kazoo/kz_amqp.c
+++ b/modules/kazoo/kz_amqp.c
@@ -1827,7 +1827,7 @@ void kz_amqp_cmd_timeout_cb(int fd, short event, void *arg)
if(retrieved_cmd == NULL) {
LM_ERR("timer what!? ");
} else {
- LM_ERR("amqp message timeout for exchange '%s' with routing key '%s' and message id '%.*s'\n"
+ LM_DBG("amqp message timeout for exchange '%s' with routing key '%s' and message id '%.*s'\n"
, cmd->exchange, cmd->routing_key
, cmd->message_id->len, cmd->message_id->s
);
@@ -2149,7 +2149,7 @@ void kz_amqp_publisher_proc_cb(int fd, short event, void *arg)
case KZ_AMQP_CMD_TARGETED_CONSUMER:
retrieved_cmd = kz_cmd_retrieve(cmd->message_id);
if(retrieved_cmd == NULL) {
- LM_ERR("amqp message id %.*s not found.\n", cmd->message_id->len, cmd->message_id->s);
+ LM_DBG("amqp message id %.*s not found.\n", cmd->message_id->len, cmd->message_id->s);
kz_amqp_free_pipe_cmd(cmd);
} else {
kz_amqp_stop_cmd_timer(retrieved_cmd);
More information about the sr-dev
mailing list