All posts / tag
#logging
-
Dynamic per-user Rails debug logs, scoped to the request
Turning on debug logs for one specific user's next handful of requests. Thread-local silence, request-scoped tags, and how it cooperates with the per-component dial from the previous post.
-
Tuning Rails log levels per class, without a redeploy
A small concern that gives every base class its own logger with a runtime-tunable level, so you can crank debug on one service for thirty minutes without touching the rest of the app.