Registry / observability / seqlog

seqlog

JSON →
library0.4.3pypypi✓ verified 84d ago

SeqLog is a lightweight logging library that sends Python log messages to Seq, a structured log server. Current version 0.4.3, released July 2025. The library is actively maintained but sees infrequent releases.

pip install seqlog
INSTALL
IMPORT
SIG · SEQLOG
S
seqlog
observabilitypythonv0.4.3
Install
2.3s avg
Import
787ms
Disk
23MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.844s · 24.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.3s · import 0.730s · 25MB
23MB installed
● package 23MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

seqlog
import seqlog

Basic setup sending logs to a Seq server. Uses environment variables for configuration.

import logging import seqlog # Configure SeqLog: either via environment variables or parameters seqlog.log_to_seq( server_url=os.environ.get('SEQ_SERVER_URL', 'http://localhost:5341'), api_key=os.environ.get('SEQ_API_KEY', ''), level=logging.INFO ) logger = logging.getLogger(__name__) logger.info('Hello from SeqLog!')
Debug
Known issues
breakingSeqLog v0.4.0 changed the default log level from DEBUG to INFO. If your code relies on DEBUG being the default, set level explicitly.
fix
Explicitly pass `level=logging.DEBUG` to `log_to_seq()`.
affects: >=0.4.0
gotchaDo not import `seqlog` after configuring logging manually (e.g., `logging.basicConfig`). SeqLog reconfigures the root logger and may conflict.
fix
Import and configure `seqlog` before any other logging configuration.
affects: all
deprecatedThe function `seqlog.setup` is deprecated since v0.3.0 and will be removed. Use `seqlog.log_to_seq` instead.
fix
Replace `seqlog.setup(...)` with `seqlog.log_to_seq(...)`.
affects: >=0.3.0,<1.0.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'seqlog'
The package is not installed in the current Python environment.
fix
Run `pip install seqlog`
AttributeError: module 'seqlog' has no attribute 'log_to_seq'
Using an outdated version (<0.3.0) that didn't have `log_to_seq`. The old function was `setup`.
fix
Upgrade to latest version: `pip install --upgrade seqlog` or use `seqlog.setup` instead.
Upgrade
Version history
0.4.3latest on PyPI · released Aug 26, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
2
Resources
seqlog — pip install seqlog · libregistry