Skip to content

fix(embyfin-stream-cleanup): downgrade repeated identifier overlap log from INFO to DEBUG#99

Closed
nemesbak wants to merge 1 commit into
Dispatcharr:mainfrom
nemesbak:fix/embyfin-reduce-log-verbosity
Closed

fix(embyfin-stream-cleanup): downgrade repeated identifier overlap log from INFO to DEBUG#99
nemesbak wants to merge 1 commit into
Dispatcharr:mainfrom
nemesbak:fix/embyfin-reduce-log-verbosity

Conversation

@nemesbak

Copy link
Copy Markdown

Problem

_get_media_server_configs() is called multiple times per poll cycle: once in _poll_once(), once in _fetch_media_server_sessions(), and once in _fetch_active_recording_channels(). When two configured media servers share any identifier (e.g. the same Jellyfin IP registered for multiple server slots), the message:

Server N: identifier(s) <ip> also on a lower-numbered server — pools will be combined for those identifiers

fires at INFO level on every single call — up to 3 times per poll interval (default 10 seconds), generating ~18 identical log lines per minute during normal steady-state operation.

Fix

Downgrade from logger.info(...) to logger.debug(...). The information is still fully available for troubleshooting by enabling DEBUG logging; it just does not appear in normal INFO-level logs.

Context

Discovered while reviewing log output after updating to v1.2.0 with two Jellyfin servers pointing to the same host (192.168.1.25), both sharing that IP as their identifier. Related issue filed in the main Dispatcharr repo: Dispatcharr/Dispatcharr#1297.

_get_media_server_configs() is called multiple times per poll cycle
(once in _poll_once, once in _fetch_media_server_sessions, once in
_fetch_active_recording_channels). When two media servers share an
identifier (e.g. the same Jellyfin instance registered for both
pool entries), the "pools will be combined" message fires at INFO
level on every single call — generating up to ~18 log lines per
minute of identical text in normal operation.

Downgrade to DEBUG so the message is available for troubleshooting
without polluting INFO logs during steady-state operation.
@dispatcharr-plugins-bot dispatcharr-plugins-bot Bot added the Plugin Update A plugin already in the repository is being updated. label May 28, 2026
@dispatcharr-plugins-bot

Copy link
Copy Markdown

Plugin Validation Results

Modified plugins: 1

PR Closed: Unauthorized

Your GitHub username (nemesbak) does not appear in author or maintainers for any of the plugin(s) in this PR. This PR has been automatically closed.
If you would like to contribute to this plugin, please consider reaching out to the maintainers of this plugin on Discord, or the plugin's Github repository.

If you are submitting a new plugin, add your GitHub username to the author field in your plugin.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Invalid The PR is invalid or created in error. Plugin Update A plugin already in the repository is being updated.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants