Logging
Posted: Sunday 30 July 2017 4:32
Despite LOGGING = true there is no logging found. Where to set log level?
Join 16,000+ members discussing home automation with Domoticz. Get help with Zigbee, ZWave, MQTT, scripting, and 150+ integrations
https://forum.domoticz.com/
Code: Select all
if LOGGING then domoticz.log('Setpoint was set to ' .. device.state) endThank you!Doler wrote:Log level must be set to ' Errors + minimal execution info + general info' in order to see the log messages.
Code: Select all
domoticz.log('Some message', domoticz.LOG_INFO) -- or LOG_ERROR or LOG_DEBUG