Skip to content

maint, use proper logging#59

Merged
tphoney merged 1 commit intomainfrom
logging
Mar 18, 2026
Merged

maint, use proper logging#59
tphoney merged 1 commit intomainfrom
logging

Conversation

@tphoney
Copy link
Copy Markdown
Owner

@tphoney tphoney commented Mar 18, 2026

Note

Low Risk
Mostly replaces ad-hoc stdout printing with structured slog calls and adds request body size limits on web handlers; behavior changes are limited to logging output and rejecting oversized requests.

Overview
Standardizes runtime output across Plex/Amazon/CinemaParadiso clients and the web server by replacing fmt.Print* debugging with structured log/slog logging (including better error/warn/info levels and less sensitive settings logging).

Hardens web endpoints by capping request body sizes via http.MaxBytesReader and tweaks progress-bar polling URLs to use numeric job IDs (with gosec suppressions where appropriate). Also refreshes a couple module versions and simplifies utils tests using reflect.DeepEqual.

Written by Cursor Bugbot for commit 50099f1. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@tphoney tphoney merged commit 44c1407 into main Mar 18, 2026
5 checks passed
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.

1 participant