Go Logging

Open-source Go projects categorized as Logging

Top 23 Go Logging Projects

  1. loki

    Like Prometheus, but for logs.

    Project mention: Loki chart 升級前,先比對 StatefulSet 與 Service 的契約 | dev.to | 2026-11-12
  2. SaaSHub

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

    SaaSHub logo
  3. logrus

    Structured, pluggable logging for Go.

    Project mention: 5 Go Loggers That Will Replace Your Sad Little fmt.Println Habit | dev.to | 2026-05-13

    View on GitHub

  4. zap

    Blazing fast, structured, leveled logging in Go.

    Project mention: The Tower Keeps Rising | news.ycombinator.com | 2026-07-16

    > I've said for a long time that composability in software is a bit like playing Tetris: the lines have to clear.

    I love this analogy, and I find it darkly hilarious that most sibling commenters don't seem to understand. Maybe you need to have worked within a million-line codebase to get it.

    The only way to "clear the lines" in software is to eject them from the main codebase and into imported libraries with stable, well-documented, well-tested APIs that you very rarely if ever (security vulnerabilities?) need to touch after "stabilizing" them. Great public examples: the Go standard library, https://github.com/spf13/viper , https://github.com/uber-go/zap . Viper and zap combined are more than 20,000 lines of code (according to cloc) that I don't need to read or understand how they work - their lines have been "cleared" and all I need to know is the abstraction.

    Half the joy to be found when working within massive codebases is successfully clearing lines.

  5. gofr

    An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.

    Project mention: Building Production-Ready Microservices in Go with GoFr: Zero-Config Observability, SQLite & Migrations | dev.to | 2026-10-30

    GoFr is an opinionated, developer-first Go microservices framework (listed on the CNCF Landscape) designed to eliminate this repetitive plumbing. With GoFr, out-of-the-box observability, configuration management, health probes, and datasource lifecycle handling work seamlessly from a single unified context.

  6. dozzle

    Realtime log viewer for containers. Supports Docker, Swarm and K8s.

    Project mention: Two Observability Back Ends Where the Name and the Signature Disagree by Twenty Times | dev.to | 2026-10-27

    Dozzle project documentation: https://dozzle.dev

  7. gf

    A powerful framework for faster, easier, and more efficient project development.

  8. zerolog

    Zero Allocation JSON Logger

    Project mention: noalloc: Tooling and libraries to enforce zero heap allocations in Golang | news.ycombinator.com | 2026-10-28

    It can be useful to have zero-alloc libraries in Go, for use in larger programs that do allocate. See https://github.com/rs/zerolog for example.

  9. go-grpc-middleware

    Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.

  10. opentelemetry-go

    OpenTelemetry Go API and SDK

    Project mention: mAPI-ng alternatives - Grafana and opentelemetry-go | libhunt.com/r/maping | 2026-07-26
  11. spew

    Implements a deep pretty printer for Go data structures to aid in debugging

  12. lumberjack

    lumberjack is a log rolling package for Go

  13. stern

    ⎈ Multi pod and container log tailing for Kubernetes (by stern)

    Project mention: Debugging a Kubernetes Production Incident, Step by Step | dev.to | 2026-10-30

    All replicas at once. With ten replicas you rarely know which pod to watch. stern streams colour-coded logs from every pod matching a selector (stern payment -n prod), so the misbehaving replica identifies itself.

  14. datadog-agent

    Main repository for Datadog Agent

    Project mention: Healthtech AI Agent Metrics Dashboards in Node.js — A 4-Signal Rollback Test | dev.to | 2026-11-03
  15. glog

    Leveled execution logs for Go (by golang)

  16. log

    A minimal, colorful Go logging library 🪵 (by charmbracelet)

    Project mention: I turned an abandoned Go project into a full terminal Arcade Game | dev.to | 2026-05-28

    Charm Log for structured logging and debugging

  17. tail

    Go package for reading from continously updated files (tail -f)

  18. VictoriaLogs

    Fast and easy to use database for logs, which can efficiently handle terabytes of logs

    Project mention: VictoriaMetrics playgrounds any dev should try in 2026 | dev.to | 2025-12-30

    GitHub repository: https://github.com/VictoriaMetrics/VictoriaLogs

  19. Logdy.dev

    Realtime log viewer with web UI, tail -f for logs with a web interface browser.

  20. khi

    A log viewer for Kubernetes troubleshooting

  21. kail

    kubernetes log viewer

  22. pp

    Colored pretty printer for Go language

  23. kubetail

    Real-time logging dashboard for Kubernetes. View logs in a terminal or a browser. Run anywhere - desktop, cluster, docker. (by kubetail-org)

    Project mention: groot alternatives - stern and kubetail | libhunt.com/r/hrodrig/groot | 2026-06-18

    kubetail Another strong multi-pod log tailer. Useful for live troubleshooting, but again, focused mainly on logs rather than a complete diagnostics snapshot.

  24. gigapipe

    qryn is a polyglot, high-performance observability framework for ClickHouse. Ingest, store and analyze logs, metrics and telemetry traces from any agent supporting Loki, Prometheus, OTLP, Tempo, Elastic, InfluxDB and many more formats and query transparently using Grafana or any other compatible client.

    Project mention: GigaPipe – Open-source drop-in Grafana LGTMP alternative | news.ycombinator.com | 2025-12-17
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).

Go Logging discussion

Log in or Post with

Go Logging related posts

  • Loki chart 升級前,先比對 StatefulSet 與 Service 的契約

    1 project | dev.to | 12 Nov 2026
  • noalloc: Tooling and libraries to enforce zero heap allocations in Golang

    3 projects | news.ycombinator.com | 28 Oct 2026
  • Always Set persist-credentials: false in actions/checkout

    4 projects | dev.to | 30 Oct 2026
  • Debugging a Kubernetes Production Incident, Step by Step

    1 project | dev.to | 30 Oct 2026
  • Bulk meta tags and Open Graph checker in Python: titles, descriptions, canonicals and og:image (2026)

    4 projects | dev.to | 25 Oct 2026
  • Show HN: Dllog – Replay debug logs when an operation fails

    1 project | news.ycombinator.com | 13 Sep 2026
  • The Logging Dilemma

    1 project | dev.to | 13 Sep 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 loki 29,129
2 logrus 25,763
3 zap 24,690
4 gofr 20,817
5 dozzle 14,853
6 gf 13,298
7 zerolog 12,530
8 go-grpc-middleware 6,760
9 opentelemetry-go 6,600
10 spew 6,425
11 lumberjack 5,479
12 stern 4,915
13 datadog-agent 3,771
14 glog 3,597
15 log 3,419
16 tail 2,779
17 VictoriaLogs 2,465
18 Logdy.dev 2,276
19 khi 2,087
20 kail 2,069
21 pp 2,058
22 kubetail 1,809
23 gigapipe 1,724

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Go is
the 5th most popular programming language
based on number of references?