Closed ChrisDodgeRR closed 3 years ago
Very good point. I haven't been overriding the logging level for a long time and I've missed the fact that we were still defaulting it to INFO
- I have fixed it now.
The log lines you posted come from the Flask web service, which by default logs all the calls to the endpoints. There may be other external dependencies that have their own logging policies as well (openzwave
is another one of those for example) and should probably be tackled with custom logging override.
Trying to setup logging so that it is less verbose, so my config.yaml contains:
However the logging level is ignored as
__init__.py
explicitly sets the log level toINFO
on line 30.Removing this line on my setup basically works as intended, though some INFO log messages do still come through, for example:
I've just started experimenting with it, and it seems to do exactly what I want, so many thanks!