Replies: 2 comments 1 reply
-
|
Lograge feels like it's the most well known and "reached for" option https://github.com/roidrage/lograge (the README has a nice write up of the problems with Rails defaults) My only hesitancy is that the last commit was 2 years ago and an issue opened about the project status in 2021 went unanswered. We are using lograge successfully for production config with clients (Rails 7.2) |
Beta Was this translation helpful? Give feedback.
-
|
Rails Semantic Logger seems to be the other big player and is actively maintained https://github.com/reidmorrison/rails_semantic_logger I've not used it but the docs look nice and the output looks similar to lograge. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The Rails defaults for log structure / formatting leave a lot to be desired.
FATALthere is nothing else on that line, you then have to search the logs around it)These issues are magnified on production when using a unified logging tool and trying to debug an issue.
Beta Was this translation helpful? Give feedback.
All reactions