Closed AMD-NICK closed 2 months ago
I'd love to see something like this added: https://github.com/Tieske/luamqtt/blob/main/mqtt/log.lua
It's a stub, but when needed can easily be replaced by the user loading LuaLogging, and then allows for decent logging. I mostly use it configured through enviornment variables: https://lunarmodules.github.io/lualogging/manual.html#environment
They were giving too many unnecessary messages. In my app I made custom logs and it was not nice when they were duplicated
Workaround, which I had to use to avoid duplicate logs: