Go Logging

Open-source Go projects categorized as Logging | Edit details

Top 23 Go Logging Projects

  • GitHub repo logrus

    Structured, pluggable logging for Go.

    Project mention: Lumber: A simple and pretty logger for Golang | reddit.com/r/golang | 2021-09-24

    There is no better way than looking at your older brothers and learning from them: stdlib log, glog, logrus, zerolog, log15 (eth fork)...

  • GitHub repo loki

    Like Prometheus, but for logs.

    Project mention: Examples of complex architectures deployed with Docker/Kubernetes | reddit.com/r/devops | 2021-09-05

    or Grafana, Prometheus and Loki (Grafana has this example using Tanka/ksonnet) is a good Benchmark https://github.com/grafana/loki/blob/main/docs/sources/installation/tanka.md

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo zap

    Blazing fast, structured, leveled logging in Go.

    Project mention: Some Go(lang) tips | dev.to | 2021-10-02

    What to use I prefer zerolog, but zap isn't bad either. Both boast zero-allocation, which is what you want for a task that should have the smallest possible impact on your application.

  • GitHub repo stern

    ⎈ Multi pod and container log tailing for Kubernetes

    Project mention: Top 20 useful k8s tools | dev.to | 2021-02-20

    Link : https://github.com/wercker/stern

  • GitHub repo zerolog

    Zero Allocation JSON Logger

    Project mention: Some Go(lang) tips | dev.to | 2021-10-02

    What to use I prefer zerolog, but zap isn't bad either. Both boast zero-allocation, which is what you want for a task that should have the smallest possible impact on your application.

  • GitHub repo spew

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

    Project mention: What are your favorite packages to use? | reddit.com/r/golang | 2021-08-15

    go-spew - god sent for debugging

  • GitHub repo go-grpc-middleware

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

    Project mention: gRPC best practices | reddit.com/r/golang | 2021-04-21

    Example auth middleware: https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/auth/examples_test.go

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo glog

    Leveled execution logs for Go (by golang)

    Project mention: Lumber: A simple and pretty logger for Golang | reddit.com/r/golang | 2021-09-24

    There is no better way than looking at your older brothers and learning from them: stdlib log, glog, logrus, zerolog, log15 (eth fork)...

  • GitHub repo lumberjack

    lumberjack is a log rolling package for Go

    Project mention: Is there any logging library for go that can rotate log files daily / hourly? | reddit.com/r/golang | 2021-06-14
  • GitHub repo tail

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

  • GitHub repo seelog

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

  • GitHub repo kail

    kubernetes log viewer

    Project mention: ktail 0.2.5 - a kubernetes log viewer | reddit.com/r/kubernetes | 2021-01-12

    For the command line, there is also kail: https://github.com/boz/kail

  • GitHub repo log

    Structured logging package for Go. (by apex)

  • GitHub repo log15

    Structured, composable logging for Go

    Project mention: My Logging Best Practices | news.ycombinator.com | 2021-10-05

    Yes. This. Been using log15 in Go for a while now and really like it.

    https://github.com/inconshreveable/log15

  • GitHub repo Gollum

    An n:m message multiplexer written in Go (by trivago)

  • GitHub repo stern

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

    Project mention: Log centralization with Kubernetes (beginner question) | reddit.com/r/kubernetes | 2021-10-11

    I've found this app pretty useful https://github.com/stern/stern

  • GitHub repo phuslu/log

    Structured Logging Made Easy (by phuslu)

  • GitHub repo Onelog

    Dead simple, super fast, zero allocation and modular logger for Golang

  • GitHub repo logxi

    A 12-factor app logger built for performance and happy development

  • GitHub repo logutils

    Utilities for slightly better logging in Go (Golang).

  • GitHub repo go-logger

    Simple logger for Go programs. Allows custom formats for messages.

  • GitHub repo httpretty

    Package httpretty prints the HTTP requests you make with Go pretty on your terminal. (by henvic)

  • GitHub repo sqldb-logger

    A logger for Go SQL database driver without modifying existing *sql.DB stdlib usage.

    Project mention: DB Question: Can I get the final sql query from db.Exec? | reddit.com/r/golang | 2021-09-18

    You can use this to get instant query logging for sql.DB. https://github.com/simukti/sqldb-logger

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 2021-10-11.

Index

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

Project Stars
1 logrus 18,998
2 loki 14,030
3 zap 13,919
4 stern 5,463
5 zerolog 5,435
6 spew 4,644
7 go-grpc-middleware 4,036
8 glog 3,040
9 lumberjack 2,851
10 tail 2,196
11 seelog 1,562
12 kail 1,420
13 log 1,181
14 log15 1,029
15 Gollum 906
16 stern 547
17 phuslu/log 401
18 Onelog 399
19 logxi 346
20 logutils 295
21 go-logger 269
22 httpretty 239
23 sqldb-logger 197
Find remote jobs at our new job board 99remotejobs.com. There are 38 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com