Hello!
I’m getting confused on the use of logger within Python scripts (Logger - Home Assistant)
I tried a bunch of things, but the only way to have the info level show is to set the integration to Debug (which also shows, well, debug level information…)
My configuration.yaml (which has been soft reloaded)
python_script:
logger:
default: warning
logs:
homeassistant.core: info
homeassistant.components.python_script: info
→ only the logger.warning are showing (either in the UI, or in the .log file)
logger:
default: info
→ same!
This showed the info level, but also the debug level (as expected).
In the python script, it’s nothing out of the ordinary, just
logger.warning(forecast_data)
logger.info(f"Updated temp forecast....")
What am I missing?
Thanks!