roidrage/lograge: An attempt to tame Rails' default policy to log everything.
10-Jul-2026 10
Lograge is an attempt to bring sanity to Rails' noisy and unusable, unparsable and, in the context of running multiple processes and servers, unreadable default logging output. Rails' default approach to log everything is great during development, it's terrible when running it in production. It pretty much renders Rails logs useless to me.
Lograge is a work in progress. I appreciate constructive feedback and criticism. My main goal is to improve Rails' logging and to show people that they don't need to stick with its defaults anymore if they don't want to.
Instead of trying solving the problem of having multiple lines per request by switching Rails' logger for something that outputs syslog lines or adds a request token, Lograge replaces Rails' request logging entirely, reducing the output per request to a single line with all the important information, removing all that clutter Rails likes to include and that gets mingled up so nicely when multiple processes dump their output into a single file.
roidrage/lograge: An attempt to tame Rails' default policy to log everything. #ruby #rubydeveloper #rubyonrails #roidrage/lograge: #attempt #Rails' #default #policy #everything. https://www.rubyonrails.ba/link/roidrage-lograge-an-attempt-to-tame-rails-default-policy-to-log-everything