Read log level from configuration and update readme

- Break out reading of settings in js and remove it from shell scripts
- Pick up config from Logger via Configuration class
This commit is contained in:
Victor Hagelbäck 2021-01-21 23:40:59 +01:00
parent 4176cfb714
commit 1b55cabf63
7 changed files with 90 additions and 34 deletions

View file

@ -24,6 +24,7 @@
"mqttUsername": "",
"mqttPassword": "",
"includeRoomsAsLights": false,
"logLevel": "info",
"connectionTimeout": 2,
"writeQueueWaitTime": 400
},
@ -35,6 +36,7 @@
"mqttUsername": "str",
"mqttPassword": "str",
"includeRoomsAsLights": "bool",
"logLevel": "str",
"connectionTimeout": "int",
"writeQueueWaitTime": "int"
}