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())