Top 23 Logging Open-Source Projects

  • Sentry

    Developer-first error tracking and performance monitoring

  • Project mention: The Impact of API Response Time on Performance: What You Need to Know | dev.to | 2024-05-16

    Monitor and Tune Caching Performance: Continuously monitor caching metrics like hit ratio, eviction rate, and utilization to assess effectiveness. Fine-tune configurations based on observed performance and user behavior to optimize cache use and derive maximum benefit. Tools like Sentry are developing features to help track cache performance.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • logrus

    Structured, pluggable logging for Go.

  • skywalking

    APM, Application Performance Monitoring System

  • Project mention: Release Radar · May 2024 Edition: Major updates from the open source community | dev.to | 2024-06-06

    Are you working on microservices, cloud native, and container-based architectures? Then you need to check out Apache Skywalking. It's an Application Performance Monitoring (APM) system, that provides monitoring, tracing, and diagnosing capabilities for distributed systems in Cloud Native architectures. This latest update has hundreds of changes including support for Java 21 runtime, new functions and parameters, the addition of Golang as a supported language for AMQP, Kafka, RocketMQ, and Pulsar, support for multiple labels in metrics, and tonnes more. Check out all changes in the very comprehensive release notes. All the Apache Skywalking metrics are available via Grafana.

  • spdlog

    Fast C++ logging library.

  • Project mention: Show HN: Logfmtxx – Header only C++23 structured logging library using logfmt | news.ycombinator.com | 2024-04-03

    Why a new lib instead of using or contributing to an existing one as spdlog?


  • loki

    Like Prometheus, but for logs.

  • Project mention: 26 Top Kubernetes Tools | dev.to | 2024-06-12

    Loki is a log collation tool from the Grafana family of observability solutions. It aggregates, groups, and labels logs from your applications, helping you troubleshoot problems and monitor activity. Although Loki is a general-purpose tool, it's well-suited to Kubernetes and comes with several Kubernetes-specific features. It automatically scrapes and indexes metadata from your Kubernetes workload objects, such as Pod labels, to accompany your Pod logs.

  • zap

    Blazing fast, structured, leveled logging in Go.

  • Project mention: Golang Logging Configuration with Zap: Practical Implementation Tips | dev.to | 2024-05-17
  • Monolog

    Sends your logs to files, sockets, inboxes, databases and various web services

  • Project mention: I don't understand error_log | /r/PHP | 2023-12-10

    To add onto this, what's more commonly done these days is to use a library like Monolog which can be configured with multiple log handlers. One of the handlers which are typically enabled is one which writes to error_log. You can add more which write directly to a logging service like Sentry or whatever, or even in dev write an HTTP header paired with a browser extension which puts your backend log messages in your browser console (see the handler + install the extension for chrome or firefox)

  • SaaSHub

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

    SaaSHub logo
  • kibana

    Your window into the Elastic Stack

  • Project mention: Fighting the Good Fight: Change the Default Kibana Theme to Dark Mode | /r/elasticsearch | 2023-12-05
  • Loguru

    Python logging made (stupidly) simple

  • Project mention: Loguru VS polog - a user suggested alternative | libhunt.com/r/loguru | 2023-12-09
  • PySnooper

    Never use print for debugging again

  • Logstash

    Logstash - transport and process your logs, events, or other data

  • CocoaLumberjack

    A fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS

  • Project mention: Looking for a flexible and fast logging library with file rotation support | /r/flutterhelp | 2023-12-04

    On iOS using Swift I would depend on the CocoaLumberjack library to support all of my logging needs. It's fast, flexible, and very importantly, supports configurable log file rotationDDFileLogger(py)maximumFileSize). It's awesome.

  • Fluentd

    Fluentd: Unified Logging Layer (project under CNCF)

  • Project mention: Embracing Kubernetes: The Future of Containerized Applications | dev.to | 2024-01-14

    Get Started with Fluentd

  • debug

    A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers

  • Project mention: Why write a library? | dev.to | 2024-05-02

    Number of dependencies: one way to tell if a library is not too challenging to be used as study source is based on the production dependencies count. The fewer the better. For example, I chose debug because it only has 1 dependency (ms), while the rest of the code relies on core NodeJS modules - which is exactly what I was looking for - to learn how to build a library from scratch, not off the shelf libraries with many external deps, which in turn are based on more deps. There you go, dependency hell.

  • gf

    GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. (by gogf)

  • zerolog

    Zero Allocation JSON Logger

  • Project mention: Go 1.21 Released | news.ycombinator.com | 2023-08-08

    Be aware that there is a performance impact compared to using zerolog directly [0] (my uneducated guess is it is likely due to pointer indirection).

    [0]: https://github.com/rs/zerolog/issues/571#issuecomment-166202...

  • signale

    Highly configurable logging utility

  • POCO

    The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

  • sigma

    Main Sigma Rule Repository

  • Project mention: Sigma rules in real life | /r/cybersecurity | 2023-10-14

    Sigma rules https://github.com/SigmaHQ/sigma its value, I get it. Here’s a post https://www.linkedin.com/posts/nasreddinebencherchali_detection-blueteam-sigma-activity-7104868070069817344-mn91?utm_source=share&utm_medium=member_desktop detailing that 31 Sigma rules from the Sigma repository are triggering on different stages of the attack as described here https://thedfirreport.com/2023/08/28/html-smuggling-leads-to-domain-wide-ransomware/

  • graylog

    Free and open log management

  • Project mention: graylog VS openobserve - a user suggested alternative | libhunt.com/r/graylog2-server | 2023-09-07
  • Bunyan

    a simple and fast JSON logging module for node.js services

  • Project mention: Structured Logging with Slog | news.ycombinator.com | 2023-08-22
  • Serilog

    Simple .NET logging with fully-structured events

  • Project mention: C# PeriodicTimer | dev.to | 2024-05-26

    If there are any runtime exceptions they are written to a log file using SeriLog. In source project see folder SampleLogFile for samples of the error log file.

  • glog

    C++ implementation of the Google logging module

  • Project mention: C++ Game Utility Libraries: for Game Dev Rustaceans | dev.to | 2024-03-13

    Alternatives are glog from Google is full-featured, like spdlog, while Plog offers a lightweight alternative. Both are worthy upgrades on using C++ built-in std::clog.

  • 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).

Logging discussion

Log in or Post with

Logging related posts

  • Lnav Logfile Navigator

    1 project | news.ycombinator.com | 17 Jun 2024
  • Left-aligned headings in the hero section are the best

    4 projects | dev.to | 14 Jun 2024
  • The Problem with OpenTelemetry

    7 projects | news.ycombinator.com | 14 Jun 2024
  • How to create an npm package + CI/CD in 10 minutes

    1 project | dev.to | 12 Jun 2024
  • Kubernetes: Hello World

    3 projects | dev.to | 9 Jun 2024
  • Join GitHub Education

    1 project | dev.to | 9 Jun 2024
  • Ask HN: Why my post labled FLAGGED and how to prevent it?

    2 projects | news.ycombinator.com | 8 Jun 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →


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

Project Stars
1 Sentry 37,331
2 logrus 24,219
3 skywalking 23,410
4 spdlog 22,748
5 loki 22,581
6 zap 21,175
7 Monolog 20,847
8 kibana 19,412
9 Loguru 18,514
10 PySnooper 16,291
11 Logstash 14,071
12 CocoaLumberjack 13,143
13 Fluentd 12,647
14 debug 11,025
15 gf 11,003
16 zerolog 9,995
17 signale 8,904
18 POCO 8,003
19 sigma 7,798
20 graylog 7,186
21 Bunyan 7,140
22 Serilog 7,027
23 glog 6,886

Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.