These docs are for v5.0. Click to read the latest docs for v2024.3.

Using Python

Python applications can log to Seq through the Python logging API or via HTTP and JSON.


The seqlog package implements a Python logging adapter for Seq:

# Indexer-style"Hello, %s!", "World")

# Message template style"Hello, {name}!", name="World")

The detailed project documentation includes full configuration and usage examples.

The project is independently developed on GitHub.


Python applications can alternatively use the HTTP API to post events as raw JSON documents.