Module: kamailio
Branch: master
Commit: f5539642dfda861e884283da3adb83338979e7b6
URL:
https://github.com/kamailio/kamailio/commit/f5539642dfda861e884283da3adb833…
Author: Vicente Hernando <vhernando(a)systemonenoc.com>
Committer: Vicente Hernando <vhernando(a)systemonenoc.com>
Date: 2019-10-30T22:27:55+01:00
kafka: associate LOG_NOTICE to LM_NOTICE in kfk_logger
---
Modified: src/modules/kafka/kfk.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f5539642dfda861e884283da3adb833…
Patch:
https://github.com/kamailio/kamailio/commit/f5539642dfda861e884283da3adb833…
---
diff --git a/src/modules/kafka/kfk.c b/src/modules/kafka/kfk.c
index 94b181e3db..b942020e5f 100644
--- a/src/modules/kafka/kfk.c
+++ b/src/modules/kafka/kfk.c
@@ -155,12 +155,17 @@ static void kfk_logger (const rd_kafka_t *rk, int level,
break;
case LOG_WARNING:
- case LOG_NOTICE:
LM_WARN("RDKAFKA fac: %s : %s : %s\n",
fac, rk ? rd_kafka_name(rk) : NULL,
buf);
break;
+ case LOG_NOTICE:
+ LM_NOTICE("RDKAFKA fac: %s : %s : %s\n",
+ fac, rk ? rd_kafka_name(rk) : NULL,
+ buf);
+ break;
+
case LOG_INFO:
LM_INFO("RDKAFKA fac: %s : %s : %s\n",
fac, rk ? rd_kafka_name(rk) : NULL,