LogStruct: Zero-config JSON structured logging for Ruby on Rails
logstruct.com·2h·
Discuss: Hacker News
📝Log Parsing
Preview
Report Post

Installation

Enable JSON structured logging for your application:

Monitoring and Dashboards

Structured JSON logs are easy to parse, so you can quickly set up metrics, alerts, and dashboards.

Features

LogStruct is fully type-checked with Sorbet. Your logs are guaranteed to have the correct structure and valid data.

Automatically redact sensitive information like emails, credit cards, passwords, IPs, and SSNs from your log output.

Integrates with ActiveJob, ActionMailer, ActiveStorage, Lograge, Sidekiq, Carrierwave, and more to provide consistent structured logging. (Open a PR to add support for your favorite gem!)

Smart and configurable error handling behaviors. Automatic error reporting integration with Sentry, Bugsnag, Rollbar, and Honeybadger.

Compatible with …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help