Python Logging

Open-source Python projects categorized as Logging

Top 23 Python Logging Projects

  • Sentry

    Developer-first error tracking and performance monitoring

    Project mention: Your opinions on DataDog? | | 2023-05-24

    i dont like. because our systems was not worth their cost. neat features, i like

  • PySnooper

    Never use print for debugging again

    Project mention: Logging code mess | | 2023-04-14

    Definitely not for production, but for debugging (esp. in cases where interactive debugging doesn't work) I've found PySnooper very useful

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • Loguru

    Python logging made (stupidly) simple

    Project mention: a few comments and questions about loguru - the most popular 3rd party logging module for Python | | 2023-04-18
  • sigma

    Main Sigma Rule Repository

    Project mention: Open Source SIEM Tools | | 2023-05-04
  • viztracer

    VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.

  • structlog

    Simple, powerful, and fast logging for Python.

    Project mention: What's new in the Webscraping Ecosystem ? from OxyCon 2022 | | 2022-09-30

    Structlog: A python library to structure your log entries

  • abseil-py

    Abseil Common Libraries (Python)

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • sentry-python

    The official Python SDK for

    Project mention: How to run >100k Python tests in <5 minutes with Tox and GitHub Actions | | 2022-11-22

    It’s a monitoring service SDK.

  • logbook

    A cool logging replacement for Python.

  • opentelemetry-python

    OpenTelemetry Python API and SDK

    Project mention: What existing libraries are there for implementing Kubernetes liveness and readiness probes? | | 2023-04-06

    Unfortunately, I have not seen any modern libraries that can match the features offered by the archived library. However, there are similar libraries that could be used, such as which provides health checks and metrics. Additionally, you could use Prometheus libraries such as\_python to get similar metrics. However, both of these libraries might require some modification to get the desired features

  • Eliot

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

    Project mention: Logging code mess | | 2023-04-14

    Maybe something like eliot could work for you

  • snoop

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

    Project mention: Show HN: A 100% free and interactive Python course for coding beginners | | 2023-01-07
  • python-colorlog

    A colored formatter for the python logging module

  • zentral

    Zentral is a high-visibility platform for controlling Apple endpoints in enterprises. It brings great observability to IT and makes tracking & reporting compliance much less manual.

  • neptune-client

    :ledger: Experiment tracking tool and model registry

    Project mention: Does a fully sentient (Or at least as sentient as you and me) AI with free will have a soul? | | 2023-05-20

    arxiv.org2. apro-software.com3. en.wikipedia.org4.

  • django-guid

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

    Project mention: GitHub - snok/django-guid: Inject an ID into every log message from a Django request. ASGI compatible, integrates with Sentry, and works with Celery | | 2023-01-25
  • pygogo

    A Python logging library with superpowers

    Project mention: Logging in Python Like a Pro | | 2022-07-01

    I'd just like to plug my lib, pygogo ( Here's a structured log example taken from the docs.

      import pygogo as gogo

  • asgi-correlation-id

    Request ID propagation for ASGI apps

    Project mention: Logging in Python Like a Pro | | 2022-07-01
  • SnitchDNS

    Database Driven DNS Server with a Web UI

    Project mention: Ask HN: SIEM-like product with DNS as its data API? | | 2022-08-21

    I'm not 100% certain if I'm understanding the requirement correctly - but would something like this help?

  • assisted-log-enabler-for-aws

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

  • aiologger

    Asynchronous logging for Python and asyncio

  • hat-syslog

    Syslog Server and tools

    Project mention: Show HN: Hat-syslog – Syslog Server with real time web UI | | 2023-05-15
  • ansible-role-promtail

    🔧 Ansible role for deploying promtail


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

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). The latest post mention was on 2023-05-24.

Python Logging related posts


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

Project Stars
1 Sentry 34,251
2 PySnooper 15,861
3 Loguru 14,949
4 sigma 6,409
5 viztracer 3,336
6 structlog 2,581
7 abseil-py 2,072
8 sentry-python 1,535
9 logbook 1,437
10 opentelemetry-python 1,280
11 Eliot 1,037
12 snoop 921
13 python-colorlog 803
14 zentral 684
15 neptune-client 388
16 django-guid 338
17 pygogo 277
18 asgi-correlation-id 217
19 SnitchDNS 202
20 assisted-log-enabler-for-aws 171
21 aiologger 95
22 hat-syslog 70
23 ansible-role-promtail 70
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.