[sr-dev] git:master:3052e563: kafka: delete optional word in kfk_logger function

Vicente Hernando vhernando at systemonenoc.com
Mon Nov 4 18:01:44 CET 2019


Module: kamailio
Branch: master
Commit: 3052e563d80dd96de880bc68eed8f06bf6f6e753
URL: https://github.com/kamailio/kamailio/commit/3052e563d80dd96de880bc68eed8f06bf6f6e753

Author: Vicente Hernando <vhernando at systemonenoc.com>
Committer: Vicente Hernando <vhernando at systemonenoc.com>
Date: 2019-10-30T23:11:29+01:00

kafka: delete optional word in kfk_logger function

---

Modified: src/modules/kafka/kfk.c

---

Diff:  https://github.com/kamailio/kamailio/commit/3052e563d80dd96de880bc68eed8f06bf6f6e753.diff
Patch: https://github.com/kamailio/kamailio/commit/3052e563d80dd96de880bc68eed8f06bf6f6e753.patch

---

diff --git a/src/modules/kafka/kfk.c b/src/modules/kafka/kfk.c
index b33dde7df5..8cf48b7b41 100644
--- a/src/modules/kafka/kfk.c
+++ b/src/modules/kafka/kfk.c
@@ -122,13 +122,11 @@ static void kfk_stats_topic_free(kfk_stats_t *st_topic);
 /*@}*/
 
 /**
- * \brief Kafka logger callback (optional)
+ * \brief Kafka logger callback
  */
 static void kfk_logger (const rd_kafka_t *rk, int level,
 		    const char *fac, const char *buf) {
 
-	/* LM_DBG("log_level: %d\n", level); */
-
 	switch(level) {
 		case LOG_EMERG:
 			LM_NPRL("RDKAFKA fac: %s : %s : %s\n",




More information about the sr-dev mailing list