Can't disable debug logging on startup

G’day from South Australia!

I’ve got an unreasonably large home-assistant.log which is due to debug logging being enabled at startup. I can’t work out why that’s the case, because in configuration.yaml:

logger:
  default: error

If I look at home-assistant.log, right after restart, I can see something is changing the log level:

2023-01-23 09:33:56.204 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-23 09:33:56.204 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-23 09:33:56.205 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration tuya_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-23 09:33:56.205 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-23 09:33:56.241 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event logging_changed[L]>
2023-01-23 09:33:56.241 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event logging_changed[L]>
2023-01-23 09:33:56.241 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=logger, service=set_default_level>
2023-01-23 09:33:56.241 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=logger, service=set_level>

I’ve checked my automations and YAML files to see if something is changing the log level for me that I’ve forgotten about, but can’t seem to find anything. I’m running HassOS in a VM, 2023.1.7.

What d’you reckon I’m doing wrong?

Cheers,

Andrew

I’d check the rest of your config, make sure there is not a duplicate entry for logger

I’ve searched all the config files, there aren’t any other references to logger in there.

the warning cannot be disabled, I tried as well, these two ways:

logs:
  homeassistant.loader: error
filters:
  homeassistant.loader:
    - "We found a custom integration"