From e7de33695d56db2d5e44b3123691066be833b69d Mon Sep 17 00:00:00 2001 From: Anton Lindgren Date: Thu, 9 Aug 2018 17:50:01 +0200 Subject: [PATCH] Remove very verbose logging of all payloads going through kafka --- lib/kafka.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kafka.js b/lib/kafka.js index 1fafddd..f3a7665 100644 --- a/lib/kafka.js +++ b/lib/kafka.js @@ -173,7 +173,7 @@ function write(producerReady, topic, payload, id, callback) { log.debug({ id }, 'Write request received, waiting for producer ready'); producerReady.then(producer => { const isPayloadBuffer = Buffer.isBuffer(payload); - log.debug({ id, opaque, isPayloadBuffer, payload }, 'Producer ready. Writing to kafka') + log.debug({ id, opaque, isPayloadBuffer }, 'Producer ready. Writing to kafka') callbacks.set(opaque, callback); if (!isPayloadBuffer) {