Skip to content

Integrations

Logly provides first-class integrations for popular Python frameworks, tools, and services. Each integration is a thin adapter that routes logs through Logly's Rust-powered engine.

Frameworks & Libraries

IntegrationDescriptionInstall
FastAPIASGI middleware with request context, status codes, and timinguv add logly[fastapi]
DjangoMiddleware and logging.Handler for Djangouv add logly[django]
FlaskHandler and request context for Flaskuv add logly[flask]
StarletteASGI middleware for plain Starlette appsuv add logly[starlette]
Stdlib LoggingBridge Python's logging module to LoglyBuilt-in
GunicornWorker hooks for Gunicornuv add logly[gunicorn]
UvicornLog configuration for Uvicornuv add logly[uvicorn]
SQLAlchemyEngine event listener for query logginguv add logly[sqlalchemy]
StructlogProcessor for structloguv add logly[structlog]
RichBeautiful terminal output via Richuv add logly[rich]
ClickRoute Click CLI output through Loglyuv add logly[click]
TyperRoute Typer CLI output through Loglyuv add logly[typer]
APSchedulerRoute APScheduler job logs through Loglyuv add logly[apscheduler]
RQRoute RQ worker job logs through Loglyuv add logly[rq]
CeleryTask logging for Celery workersuv add logly[celery]
PropagatePropagate records to stdlib logging hierarchyBuilt-in

Observability & Monitoring

IntegrationDescriptionInstall
OpenTelemetryExport log records to OTel collectorsuv add logly[opentelemetry]
PrometheusExpose log metrics via Prometheusuv add logly[prometheus]
LokiShip logs to Grafana Lokiuv add logly[loki]
SentryForward error logs to Sentryuv add logly[sentry]
ElasticsearchIndex logs into Elasticsearchuv add logly[elasticsearch]
TelemetryGeneric telemetry sink for custom backendsBuilt-in

Data Stores & Message Brokers

IntegrationDescriptionInstall
RedisPush logs to Redis lists or streamsuv add logly[redis]
KafkaPublish logs to Kafka topicsuv add logly[kafka]
MongoDBInsert logs into MongoDB collectionsuv add logly[mongodb]
PostgreSQLInsert logs into PostgreSQL tablesuv add logly[postgresql]
RabbitMQPublish logs to RabbitMQ queuesuv add logly[rabbitmq]

Notifications & Webhooks

IntegrationDescriptionInstall
DiscordSend logs to Discord webhooksBuilt-in
SlackSend logs to Slack webhooksBuilt-in
EmailSend logs as emails via SMTPBuilt-in
HTTPSend logs to any HTTP endpointBuilt-in

Released under the MIT License.