Skip to main content

llm-logging-debug

PyPI Changelog Tests License

Set logging.DEBUG while running LLM

Installation

Install this plugin in the same environment as LLM.

llm install llm-logging-debug

Usage

Set the LLM_LOGGING_DEBUG environment variable to 1 before running LLM:

export LLM_LOGGING_DEBUG=1
llm "Say hello in five languages" -m gemma3:27b

Or just for one invocation like this:

LLM_LOGGING_DEBUG=1 llm "Say hello in five languages" -m gemma3:27b

This will set the Python logging level to DEBUG for the duration of the LLM command.

One consequence of this is that plugins that use httpx will show detailed debugging information about the requests they are making.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-logging-debug
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

python -m pip install -e '.[test]'

To run the tests:

python -m pytest

Release files for llm-logging-debug 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-logging-debug 0.1
File Size Uploaded
llm_logging_debug-0.1.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-logging-debug 0.1
File Interpreter ABI Platform
llm_logging_debug-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / llm_logging_debug-0.1.tar.gz

Download URL llm_logging_debug-0.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3f3c58b2fbb77e8ee53b296fc8618a7523c5301ccd7c5158a2a4fd3add8d4b41
BLAKE2b-256 checksum
How to use checksums
949c31f18ddd26145677eccdd8083122fdf7eeab02b2ec45eb44c57f690de345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2025.

Transparency log

Release files / llm_logging_debug-0.1-py3-none-any.whl

Download URL llm_logging_debug-0.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
387f6b14e6935adebe3a7bac87f0890ff311a31bbbd912ad50475bc4bd278921
BLAKE2b-256 checksum
How to use checksums
f315c26e3cd73367d59ba8bfb5d677e05a1c6c5588be1cf82a753a4fecdf0960
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page