Python Logging

Open-source Python projects categorized as Logging

Top 23 Python Logging Projects

  1. Sentry

    Developer-first error tracking and performance monitoring

    Project mention: PaidYet: for the friend who says “kal bhej dunga” | dev.to | 2026-10-03

    PaidYet is a Telegram bot that runs on your laptop, for the friend who always says "haan bhai, kal bhej dunga" ("yeah, I'll send it tomorrow") and then forgets. Send it a bill photo or a line like "Rahul ko 500 dene hai Friday tak". Gemma, running locally in Ollama, reads it, and you tap Save. Then a durable Temporal workflow keeps reminding you until you tap Paid. Sentry traces every step without seeing a single bill.

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. Loguru

    Python logging made (stupidly) simple

    Project mention: GitHub's new dashboard experience now the default | news.ycombinator.com | 2026-10-03
  4. PySnooper

    Never use print for debugging again

  5. sigma

    Main Sigma Rule Repository

    Project mention: Day 1 of being employed in Cybersecurity | dev.to | 2026-09-15
  6. viztracer

    A debugging and profiling tool that can trace and visualize python code execution

  7. structlog

    Simple, powerful, and fast logging for Python.

    Project mention: Leveling Up Your Python Logs with Structlog | dev.to | 2025-11-27

    Structlog takes a different approach. Rather than wrestling with object hierarchies, you simply declare how each event should be processed and enriched. The result is logging that feels natural to write, while producing output that works just as well for humans skimming a console as it does for machines ingesting JSON into an observability platform.

  8. logfire

    AI observability platform for production LLM and agent systems.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. opentelemetry-python

    OpenTelemetry Python API and SDK

    Project mention: What is OpenTelemetry, and why does it matter for AI agents? | dev.to | 2026-05-11

    An OpenTelemetry SDK is a library that runs in your application. It collects traces, metrics, and logs from your code and hands them off for export. You install it, configure it, and call its APIs (or rely on auto-instrumentation) to emit telemetry. For Python agents, the OpenTelemetry Python SDK is the foundation. For TypeScript, OpenTelemetry JavaScript serves the same purpose.

  11. abseil-py

    Abseil Common Libraries (Python)

  12. sentry-python

    The official Python SDK for Sentry.io

    Project mention: Stop the event loop stall: a Sentry Python SDK fix for slow local-variable capture | dev.to | 2026-08-11

    This entry is a real, tested bug fix in the Sentry Python SDK for issue #6649. On FastAPI 0.137 and newer, logging a single exception could freeze an async service for seconds because Sentry was building a giant text representation of the framework's internal router objects while capturing stack-frame locals. The fix makes that capture bounded and fast without changing what data ends up in Sentry for normal cases.

  13. LoggiFly

    Get Alerts from your Docker Container Logs

  14. logbook

    A cool logging replacement for Python. (by getlogbook)

  15. snoop

    A powerful set of Python debugging tools, based on PySnooper (by alexmojaki)

    Project mention: AI Makes You Boring | news.ycombinator.com | 2026-02-19

    I often use [snoop](https://github.com/alexmojaki/snoop) because I like the features and output formatting, but it doesn't support async. I have found [ASnooper](https://github.com/LL-Ling/ASnooper), but it only supports async. I'd like to add ASnooper's async feature to snoop.

    I'm thinking of creating a project that imports both, and patches the relevant parts of snoop with the async functionality from ASnooper. I have some notes from looking into the snoop code:

  16. Eliot

    Eliot: the logging system that tells you *why* it happened

  17. python-colorlog

    A colored formatter for the python logging module

  18. picologging

    An optimized logging library for Python

  19. telescope

    Web-based log viewer UI. Explore logs data stored in several sources: ClickHouse, Kubernetes or Docker (by iamtelescope)

    Project mention: Show HN: FlyQL: query language to filter data or generate SQL | news.ycombinator.com | 2026-05-15

    Hey HN.

    I want to share small library which i made.

    While I developing my log viewer (https://github.com/iamtelescope/telescope) I needed a way for users to filter the data in my UI.

  20. asgi-correlation-id

    Request ID propagation for ASGI apps

    Project mention: Getting started with logging in FastAPI | dev.to | 2025-11-03

    To link log messages with requests we need a correlation ID. I highly recommend using the asgi-correlation-id package for this purpose.

  21. django-guid

    Inject an ID into every log message from a Django request. ASGI compatible, integrates with Sentry, and works with Celery

  22. EVTX-ETW-Resources

    Event Tracing For Windows (ETW) Resources

  23. automatic_log_collector_and_analyzer

    Replace Splunk in your small company with this one weird trick!

  24. pygogo

    A Python logging library with superpowers

  25. assisted-log-enabler-for-aws

    Assisted Log Enabler for AWS - Find AWS resources that are not logging, and turn them on.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Logging discussion

Log in or Post with

Python Logging related posts

  • GitHub's new dashboard experience now the default

    3 projects | news.ycombinator.com | 3 Oct 2026
  • How to Protect Automated Listing Moderation at a Service Like Leboncoin Against Crafted Jailbreaks

    1 project | dev.to | 1 Oct 2026
  • The systems that no one will test

    1 project | news.ycombinator.com | 29 Sep 2026
  • A 1,145-Star CLI Promised "Nothing Leaves Your Machine". It Executes a Hidden Payload at Import Time.

    3 projects | dev.to | 20 Sep 2026
  • Stop the event loop stall: a Sentry Python SDK fix for slow local-variable capture

    2 projects | dev.to | 11 Aug 2026
  • Como criei um agente de IA para selecionar testes automaticamente em PRs (Parte 1)

    3 projects | dev.to | 11 Aug 2026
  • My First Published Article Links to a GitHub User That Doesn't Exist. It's Been Live and Broken for 45 Days.

    3 projects | dev.to | 4 Aug 2026
  • A note from our sponsor - AppSignal
    www.appsignal.com | 6 Oct 2026
    APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product. Learn more →

Index

What are some of the best open-source Logging projects in Python? This list will help you:

# Project Stars
1 Sentry 45,223
2 Loguru 24,140
3 PySnooper 16,575
4 sigma 11,154
5 viztracer 7,752
6 structlog 4,968
7 logfire 4,505
8 opentelemetry-python 2,657
9 abseil-py 2,451
10 sentry-python 2,209
11 LoggiFly 1,776
12 logbook 1,509
13 snoop 1,461
14 Eliot 1,190
15 python-colorlog 964
16 picologging 781
17 telescope 711
18 asgi-correlation-id 642
19 django-guid 485
20 EVTX-ETW-Resources 436
21 automatic_log_collector_and_analyzer 429
22 pygogo 283
23 assisted-log-enabler-for-aws 279

Sponsored
Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com