reduce logging

This commit is contained in:
Wolfgang Hottgenroth 2018-05-14 16:35:41 +02:00
parent 87f47a62dc
commit d8f35a127a
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

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