jellyfin / jellyfin/jellyfin-apiclient-python

Logs report information not useful to end users at the `INFO` level

Open
#71 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
149
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Much of the internal workings of the API client are reported at the `INFO` log level, which isn't appropriate for a library. A user-facing script or app should report only when it does something that it's expected to do at the `INFO` level, but if their code uses `logging.basicConfig(level=logging.INFO)` then `jellyfin-apiclient-python` reports various internal workings to the end user at the `INFO` level such as sent requests.

As a library, almost all, if not all, `logging.info(...)` calls should be changed to `logging.debug(...)`.

Contributor guide

Open the contributing guide

Research direction

Search the repository for logging.info(...) calls and review which messages describe internal API-client workings, such as sent requests. Check the logging behavior with logging.basicConfig(level=logging.INFO); done means internal messages no longer appear at INFO while genuinely user-facing INFO messages remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.