Always seeing logging at DEBUG level

Hi folks, in the past few weeks, I have seen my home-assistant.log file grow to many gigabytes in size, even though I had my logger config set to “critical”.

I have tried removing the config and now set it to “info” but still I see a huge amount of DEBUG logs in there. Any ideas?

What version are you on?

It’s working for me on 0.114.4.

0.114.4 also.

What happens if you try to run the service logger.set_default_level in the developer tools?

Do you perhaps have an automation using this service?

What happens if you try to run the service logger.set_default_level in the developer tools?

Yes that certainly works in setting it to info for me.

I searched all my config and cannot see it being set anywhere.

I am going to comment out parts of my configuration.yaml until I find out what is doing it.

Thanks for the help.

Ok I had a custom component which I just removed and the issue is fixed. Not sure how that was affecting the global HA logger but it must have somehow. Thanks again.

1 Like