Pick Rails Logger
Context and Problem Statement
Pick a Rails logger implementation to generate structured logging and requirements specified in the design doc
Considered Options
Decision Outcome
Chosen option: Semantic Logger
- Rails logger can be customized to output json but it doesn't have all the features described in the design doc
- Replace two gems like ougai and lograge
- Better performance: Logs in a thread
- Automatically includes class name in the log event
- Can be easily injected in any class with the SemanticLogger:Loggable module