DenonAVR component spams log file

Hi,

I’m using the denonavr component with my AV receiver.
The AVR is completely turned off when not in use, i.e. not in “Network Standby” mode, so it’s unreachable via network in that state.
The denonavr component now complains every 11s:
ERROR (Thread-9) [DenonAVR] ConnectionError retrieving data from host 192.168.xx.xx

I haven’t found a way to silence this component. I tried setting a lower log level:

logger:
  default: warn
  logs:
    homeassistant.component.media_player.denonavr: critical

but this seems to be ignored, even when extending this to homeassistant.component.media_player.
Right now, I have the default log level reduced to “fatal”, which works but is unsatisfactory since I now hardly see any errors at all.

Unfortunately I didn’t find the part of the code where this message is generated.

Sebastian

same problem here. Been ignoring it but it is annoying

Did you try this:

logger:
  default: warn
  logs:
    DenonAVR: critical
1 Like

Thanks - I just tried it that way and it looks like it’s working.
But that is so completely not what the documentation on the logger component says… strange.

Sebastian

The homeassistant.component.media_player.denonavr logging controls how the hass denonavr component logs, however it looks like the denonavr component depends on another python library that logs to just DenonAVR.