kehangchen / node-red-contrib-sqldbs

1 stars 4 forks source link

Too much logging #2

Closed giddyhup closed 6 years ago

giddyhup commented 7 years ago

Even though I set Node RED's logging settings to 'error' I see for every database transaction an entry in my syslog.

giddyhup commented 7 years ago

I just noted that the database login is also being logged - including credentials.

mdimai666 commented 6 years ago

@giddyhup use it .node-red\node_modules\node-red-contrib-sqldbs\sqldbs.js

change this.logging = false; line ~30 ` this.connecting = false; this.dbname = n.db; this.dialect = n.dialect;

    this.logging = false;

    var node = this;

    function doConnect() {

`

giddyhup commented 6 years ago

Thanks.