My Logging Best Practices

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • trace-context-w3c

    W3C Trace Context purpose of and what kind of problem it came to solve.

  • log15

    Structured, composable logging for Go

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

    https://github.com/inconshreveable/log15

  • 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
  • Serilog.Exceptions

    Log exception details and custom properties that are not output in Exception.ToString().

  • I would say that having spent time ensuring that exceptions are properly detailed, and those details properly logged (1), this is correct, but is not an invariant that makes exceptions useless.

    1) shout out to https://github.com/RehanSaeed/Serilog.Exceptions

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts