From d8f35a127a6e9309e1467891e69fb4a43f886992 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 14 May 2018 16:35:41 +0200 Subject: [PATCH] reduce logging --- src/MqttMongo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MqttMongo.ts b/src/MqttMongo.ts index 0307a06..b8cdfbc 100644 --- a/src/MqttMongo.ts +++ b/src/MqttMongo.ts @@ -70,7 +70,7 @@ connectToDatabase() { while (! this.queue.isEmpty()) { let msg : MqttMessage.MqttMessage = this.queue.deq() if (this.options.verbose) { - this.loginfo(`Something in the queue: ${JSON.stringify(msg)}`) + this.loginfo(`Something in the queue`) } let coll = this.dbHandle.collection(this.options.collection) coll.insertOne(msg.getMessage())