Disable or reduce logging from Jellyfin integration

I have Jellyfin as a device in HA but my Jellyfin server isn’t running 24/7. And when it is turned off, HA logs a lot of errors. The log fil has grown 240MB in 12 days just because Jellyfin server was shut down.

I would like to be able to stop having this integration log anything as it causing unnecessary wear on my sdcard and it uses way too much disk space.

Why is this in feature requests? See Logger - Home Assistant

Basically because I did a google search on how to reduce logging/turn it off for this integration and I found nothing. Also, I found no way to configure it via the HA gui (but could see the logs in there).

But I will have a look at the page you gave a link to.

I got it to work. Didn’t see any way to disable it, but setting it to Fatal at least reduces the logging a lot (if not completely). Would have loved dynamic logging control instead of having to restart HA for each log config change.

You can use a service to set the levels, I assume that doesn’t require a restart. Logger - Home Assistant

Can you share your logger settings please?
I have the same problem, my server not running 24/7 and the Jellyfin integration keeps filling up my home-assistant.log. Every minute the message that it cannot connect is posted, i.e.

2024-11-08 11:52:08.811 ERROR (SyncWorker_23) [JELLYFIN.jellyfin_apiclient_python.connection_manager] connect_to_address http://192.168.2.222:8096/ failed

I have the following settings in my configuration.yaml

logger:
  default:  warning
  logs:
    homeassistant.components.jellyfin: critical
    Jellyfin: critical

But this doesn’t seem to help.

fatal, not critical.

Thanks, but critical is a higher level than fatal, so it should work also, or not?