Skip to content

Log the debug payload at Information level - #328

Open
zotabee wants to merge 1 commit into
jellyfin:masterfrom
zotabee:extra-logging-level
Open

zotabee wants to merge 1 commit into
jellyfin:masterfrom
zotabee:extra-logging-level

Conversation

@zotabee

@zotabee zotabee commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

"Enable debug logging" logged the posted data at Debug level, which Jellyfin hides by default, so ticking it showed nothing unless the server's log level was changed too.

It now logs at Information level and includes the URL, so each payload shows which Trakt endpoint it went to. The token revoke request isn't logged, because it contains the access token. As before, only posted data is logged, not responses or GET requests.

From my server's log with the option ticked, official v33 and then this PR (the first line only appeared because I had also raised the log level):

[DBG] Trakt.Api.TraktApi: TraktSyncCollected { Movies: null, Shows: [], Episodes: [ … ] }
[INF] Trakt.Api.TraktApi: Posting to "https://api.trakt.tv/sync/collection": TraktSyncCollected { Movies: [ … ], … }

#343 moves the token revoke out of this code; the two merge cleanly.

Fixes #249, related to #232

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019NK5BSFsEuuqMcNPPpysee
@zotabee
zotabee force-pushed the extra-logging-level branch from f96cda2 to 9c2c080 Compare October 17, 2026 18:57
selmant added a commit to selmant/better-trakt that referenced this pull request Oct 23, 2026
…level

jellyfin#328
Original author: @zotabee. Thanks for the contribution!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable debug loggin option not working

1 participant