Skip to content

Commit

Permalink
kafka: associate LOG_NOTICE to LM_NOTICE in kfk_logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente Hernando committed Oct 30, 2019
1 parent 2e3f8eb commit f553964
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/modules/kafka/kfk.c
Expand Up @@ -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,
Expand Down

0 comments on commit f553964

Please sign in to comment.