As a user with many custom integrations, I need the ability to silence specific log entries

I’m an avid user of HACS and custom repositories. I usually refer to the logs when I’m seeing an issue that I want to hunt down. I start by navigating to the logs UI from the configuration dashboard, which shows me all of the warnings and errors that have been logged since the system booted.

Some of the log entries are completely inconsequential, but appear on every boot.

“X integration took more than N seconds…”
“Y script is already running…”
“Custom integration uses X API which is deprecated in yadda yadda…” (Yep, already reported (

These are distracting and make the state of my server look way unhealthier than it actually is. It makes it more difficult to trace down issues that I actually care about and creates unnecessary noise.

I’d like the ability to “silence” or “snooze” specific log entries to prevent them from appearing in the front end UI indefinitely. This would allow me to focus on issues that I’m actually looking for, and get a better sense of the health of my home automation server

One word - grep.

I didn’t go down this road to become a software engineer, which is what HA needs to start understanding to grow sustainably.

I’m technical enough but every new concept I have to learn to address a simple need makes the platform more of a chore. And with multiple kids, I don’t want any more chores

You can exclude certain things from the recorder or logbook:

Neither Logbook nor Recorder are the correct integrations for this. You want Logger:

In particular this: https://www.home-assistant.io/integrations/logger/#log-filters

However, for these log entries:

You should set the max_exceeded property of your script or automation modes to silent by adding this to the script/automation:

  - mode: single # or whatever mode you are using, single is the default
    max_exceeded: silent # prevents logging "aready running..."
1 Like