summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10ce782)
raw | patch | inline | side by side (parent: 10ce782)
author | Pierre-Yves Ritschard <pyr@spootnik.org> | |
Mon, 18 Apr 2016 12:50:28 +0000 (14:50 +0200) | ||
committer | Pierre-Yves Ritschard <pyr@spootnik.org> | |
Mon, 18 Apr 2016 12:50:28 +0000 (14:50 +0200) |
src/write_kafka.c | patch | blob | history |
diff --git a/src/write_kafka.c b/src/write_kafka.c
index a5371d4c0a933e40d3c2c9051babf5b39383909f..2c3296db221eda6cdd2a8223bca1113950f9d5c5 100644 (file)
--- a/src/write_kafka.c
+++ b/src/write_kafka.c
INFO ("write_kafka plugin: created KAFKA handle : %s", rd_kafka_name(ctx->kafka));
-#ifdef HAVE_LIBRDKAFKA_LOGGER
+#if defined(HAVE_LIBRDKAFKA_LOGGER) && !defined(HAVE_LIBRDKAFKA_LOG_CB)
+ if
rd_kafka_set_logger(ctx->kafka, kafka_log);
#endif
}
{
plugin_register_complex_config ("write_kafka", kafka_config);
}
-