Skip to content

Suppresses useless warnings - #18337

Merged
crobibero merged 1 commit into
jellyfin:release-12.zfrom
thedreaddpirate:suppressUselessWarnings
Oct 18, 2026
Merged

crobibero merged 1 commit into
jellyfin:release-12.zfrom
thedreaddpirate:suppressUselessWarnings

Conversation

@thedreaddpirate

@thedreaddpirate thedreaddpirate commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

This changes the default values for logging.default.json to suppress useless warnings that have caused unnecessary concern with beginner users.

Changes
The following classes have been overridden to only write error logs.

  • Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager
  • Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository
  • Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware

Code assistance
No code assistance was used. I manually searched for instances of these classes generating logs and only found the useless warnings during startup or in stack traces, which would not be affected by this change.

Issues
Many forum posts and users in Discord/Matrix have raised questions about StaticFileMiddleware's warning that /wwwroot was not found only for moderators (including myself) to repeated reassure them that this is a warning that can be safely ignored.

@thedreaddpirate thedreaddpirate added this to the v12.3 milestone Oct 7, 2026
@thedreaddpirate thedreaddpirate added enhancement Improving an existing function, or small fixes stable backport Backport into the next stable release labels Oct 7, 2026
@jellyfin-project-automation jellyfin-project-automation Bot moved this from Review to Approved in Jellyfin v12 Oct 18, 2026
@crobibero
crobibero merged commit 1c43227 into jellyfin:release-12.z Oct 18, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Jellyfin v12 Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improving an existing function, or small fixes stable backport Backport into the next stable release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants