WTH - Need temporary logger silence option

Current Problem

When a device is temporarily offline (like my printer right now), we get:

  • Constant error messages in logs
  • “Needs attention” warnings
  • No way to silence without complete removal
  • Cluttered logger with known temporary issues

Simple Solution Needed

  1. Add “Pause Logging” toggle in device options menu
  2. Options for pause duration:
  • 1 hour
  • 1 day
  • 1 week
  • Custom time
  • Until manually enabled
  • Until device is back online

Benefits

  • Clean logs focused on real issues
  • Less notification spam
  • Better overview of actual problems
  • No need to remove/readd devices
  • Easier maintenance during known downtimes

Just like we can disable an integration, we should be able to pause its logging when needed!

#logging maintenance #usability

Wouldn’t it be better to avoid cluttering the logs in the first place?

Depending on the level in the quality scale an integration should not spam the logs.

Integrations of quality level Silver or higher should “Correctly and automatically recover from connection errors or offline devices, without filling log files and without unnecessary messages.”

The more detailed version of that statement is this If internet/device/service is unavailable, log once when unavailable and once when back connected | Home Assistant Developer Docs
So it should only log once when it becomes unavailable and once when it comes back.

If the integration is rated Silver of above you could report excessive logging as a bug.

It doesn’t answer the question (as you want it from the integration/device screen) but if one want, using automations or whatever, you can change the logging of an integration in runtime Logger - Home Assistant