Go Logging

Open-source Go projects categorized as Logging

Top 23 Go Logging Projects

  1. loki

    Like Prometheus, but for logs.

    Project mention: Docker Logs Observability Using Grafana | dev.to | 2025-03-19

    auth_enabled: false server: http_listen_port: 3100 grpc_listen_port: 9096 log_level: debug grpc_server_max_concurrent_streams: 1000 common: instance_addr: 127.0.0.1 path_prefix: /tmp/loki storage: filesystem: chunks_directory: /tmp/loki/chunks rules_directory: /tmp/loki/rules replication_factor: 1 ring: kvstore: store: inmemory query_range: results_cache: cache: embedded_cache: enabled: true max_size_mb: 100 limits_config: metric_aggregation_enabled: true schema_config: configs: - from: 2020-10-24 store: tsdb object_store: filesystem schema: v13 index: prefix: index_ period: 24h pattern_ingester: enabled: true metric_aggregation: loki_address: localhost:3100 ruler: alertmanager_url: http://localhost:9093 frontend: encoding: protobuf # By default, Loki will send anonymous, but uniquely-identifiable usage and configuration # analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/ # # Statistics help us better understand how Loki is used, and they show us performance # levels for most users. This helps us prioritize features and documentation. # For more information on what's sent, look at # https://github.com/grafana/loki/blob/main/pkg/analytics/stats.go # Refer to the buildReport method to see what goes into a report. # # If you would like to disable reporting, uncomment the following lines: #analytics: # reporting_enabled: false

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. logrus

    Structured, pluggable logging for Go.

    Project mention: Gerando Pagamentos via Pix com a AbacatePay | dev.to | 2025-04-16
  4. zap

    Blazing fast, structured, leveled logging in Go.

    Project mention: Zap: Unlock the Full Potential of Logging in Go | dev.to | 2025-01-28

    GitHub address: https://github.com/uber - go/zap

  5. gf

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

    Project mention: gmap in GoFrame: A Deep Dive into High-Performance Concurrent Maps | dev.to | 2025-01-05

    Performance Benchmarks

  6. zerolog

    Zero Allocation JSON Logger

    Project mention: Go zerolog setup with pgx | dev.to | 2025-04-20

    Why I like zerolog? I started with normal golang log API and was having okay experience. But started sniffing around the web to see what other people were using.

  7. dozzle

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

    Project mention: Down the Rabbit Hole of creating a Home Lab | dev.to | 2025-04-23

    Dozzle - Real-time container log viewer

  8. go-grpc-middleware

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

  9. SaaSHub

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

    SaaSHub logo
  10. spew

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

  11. opentelemetry-go

    OpenTelemetry Go API and SDK

    Project mention: Setting Up Telemetry in Golang | dev.to | 2025-04-03

    OpenTelemetry GitHub Repository

  12. lumberjack

    lumberjack is a log rolling package for Go

  13. stern

    ⎈ Multi pod and container log tailing for Kubernetes -- Friendly fork of https://github.com/wercker/stern (by stern)

    Project mention: Show HN: Kubetail – Real-time log search for Kubernetes | news.ycombinator.com | 2025-05-01

    you can also use stern for that!

    https://github.com/stern/stern

  14. glog

    Leveled execution logs for Go (by golang)

  15. datadog-agent

    Main repository for Datadog Agent

    Project mention: New Relic vs Datadog: Complete Platform Comparison | dev.to | 2024-12-18

    Official Datadog Documentation

  16. tail

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

  17. log

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

  18. kail

    kubernetes log viewer

  19. pp

    Colored pretty printer for Go language

  20. seelog

    Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.

  21. logging-operator

    Logging operator for Kubernetes

  22. litter

    Litter is a pretty printer library for Go data structures to aid in debugging and testing.

  23. SigLens

    100x Efficient Log Management than Splunk, Reduce your observability cost by 90%

  24. Logdy.dev

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

    Project mention: Show HN: Kubetail – Real-time log search for Kubernetes | news.ycombinator.com | 2025-05-01

    Look into https://logdy.dev . I've played around with it a little bit, but really putting some work into learning it and integrating it with OTEL traces is my next side project.

    Another alternative is https://openobserve.ai/ . It needs to run as a daemon to ingest logs (instead of opening a file), but it has a really nice UI.

  25. 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: Quickwit Joins Datadog | news.ycombinator.com | 2025-01-10

    I'm not the person you asked -- and I also want to be transparent that I only PoC-ed it and due to external circumstances didn't get it all the way out to production -- but I really like how https://github.com/metrico/qryn (AGPLv3) thinks about the world. It is, like SigNoz, unified (logs, metrics, traces) but it actually implements several of the common endpoint schemes allowing it to pretend to be "your favorite tool" which plausibly helps any integration story <https://github.com/metrico/qryn#%EF%B8%8F-query> and <https://github.com/metrico/qryn#-vendors-compatibility>

    I was going to take advantage of Clickhouse using S3 as warm-to-cold storage since my mental model is that most logs, metrics, and traces are written and not read https://clickhouse.com/docs/en/integrations/s3#configuring-s...

    I believe one could do that with SigNoz, too, so I don't mean to imply that trickery was qryn specific, just that I didn't want to get into the "constantly resizing io3 PVC" game

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

Go Logging discussion

Log in or Post with

Go Logging related posts

  • Show HN: Kubetail – Real-time log search for Kubernetes

    6 projects | news.ycombinator.com | 1 May 2025
  • Show HN: Kubetail – Kubernetes real-time logging dashboard now with Grep/Search

    1 project | news.ycombinator.com | 1 May 2025
  • gookit/slog - release v0.5.8, Lightweight, configurable, extensible logging library

    1 project | dev.to | 30 Apr 2025
  • Show HN: Nerdlog – Fast, multi-host TUI log viewer with timeline histogram

    5 projects | news.ycombinator.com | 21 Apr 2025
  • Go zerolog setup with pgx

    4 projects | dev.to | 20 Apr 2025
  • Show HN: FlowG v0.32.0, Added support for OpenTelemetry logs collection

    1 project | news.ycombinator.com | 19 Apr 2025
  • Journey to Optimize Cloudflare D1 Database Queries

    2 projects | news.ycombinator.com | 7 Apr 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 May 2025
    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 25,378
2 logrus 25,235
3 zap 23,048
4 gf 12,348
5 zerolog 11,384
6 dozzle 8,406
7 go-grpc-middleware 6,506
8 spew 6,193
9 opentelemetry-go 5,686
10 lumberjack 5,088
11 stern 3,909
12 glog 3,599
13 datadog-agent 3,089
14 tail 2,753
15 log 2,667
16 kail 2,004
17 pp 1,941
18 seelog 1,639
19 logging-operator 1,613
20 litter 1,584
21 SigLens 1,555
22 Logdy.dev 1,547
23 gigapipe 1,418

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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