Is there a way to stop HA creating a log entry every time a sensor changes?

The integration I work on has an image sensor that updates every 1-2 second with an in-memory stream from a server and this is spamming the HA logbook with an entry every time the timestamp updates:
image

And that’s ultimately overwhelming it and crashed/hung my HA instance:
image

There’s no need to record that it changed - the last update time is being updated only to trigger HA to refresh the image in the dashboard. Could I perhaps stop doing that and instead use the homeassistant.update_entity to force it to update each time without changing the last updated time for the image? Is there another way to suppress the state logging for specific high churn sensors?

Try changing the entity properties:

You can also decide to exclude things from the log, at first I thought this was stupid but in the end… did a few and never cam back on it

Logger - Home Assistant (home-assistant.io)

That looks promising but it looks like it’s limited only to state attributes and the last updated time is a full property on an Image class:
@property
def image_last_updated(self) → datetime | None:

But looking at the source for Image, it seems that it’s already suppressing a couple of things:
_entity_component_unrecorded_attributes = frozenset(
{“access_token”, “entity_picture”}
)
And entity_picture is also a property:
@property
def entity_picture(self) → str | None:

So maybe I’m just not using it right yet.