reduce logging
This commit is contained in:
parent
87f47a62dc
commit
d8f35a127a
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user