← Graph

Semantic Logger

tool 8 connections

Ruby logging library (installed via rails_semantic_logger for Rails bindings). Supports structured JSON payloads, automatic logging for many libraries including ActiveJob, a proc-based filter to drop certain logs, and an appenders system for shipping logs to external destinations (e.g. an HTTP appender that batches logs and sends them to vendors like Dynatrace). Callaghan evaluates it as the best option in Ruby today: structured payloads, Rails integration, good docs, mature. Used in production at BiggerPockets for three years. Weaknesses: no baked-in attribute-naming conventions (addressable by adopting OpenTelemetry Semantic Conventions), no automatic HTTP headers / user-agent logging (addressable via config.log_tags), no outbound API request logging (addressable via a Faraday middleware).

category
library
language
Ruby
about
Semantic Logger tool
Recommends and demonstrates semantic_logger as the structured-logging library of choice.
about
Semantic Logger tool
Recommends using semantic_logger's proc-based filter to drop noisy log patterns.
recommends
Semantic Logger tool
Evaluates logging libraries against criteria and recommends semantic_logger.
tool Semantic Logger
related_to
rails_semantic_logger provides Rails bindings and autologging for ActiveJob and other libraries.
tool Semantic Logger
related_to
Talk shows patching semantic_logger's subscriber and event formatter to emit OpenTelemetry attribute names.
concept config.log_tags
related_to
Semantic Logger tool
Tags set via config.log_tags are forwarded through Rails logging to semantic_logger and then to the observability tool.
company BiggerPockets
uses
Semantic Logger tool
Used in production at BiggerPockets for three years; called solid as a rock.
since: ~2022
uses
Semantic Logger tool
The middleware emits structured log events via semantic_logger.

Provenance

Read by
4 extractions