| Features | - one log line per request with method, path, format, controller, action, status and durations
- view and database timings in the request line
- key=value (default), JSON, Logstash, Graylog2, CEE, LTSV, lines, deep key=value and raw hash formatters
- custom formatter: any object that responds to call
- custom_options and custom_payload hooks to add fields from the event or the controller
- ignore_actions and ignore_custom to skip requests
- keep_original_rails_log to keep Rails' own log alongside
- Action Cable support (perform_action, subscribe, unsubscribe, connect, disconnect)
- All 10 features
| - JSON lines to STDOUT in production
- switches on for recognized server and worker processes only
- filtering of values under sensitive key names
- scrubbing of emails (keyed hash), card numbers, phone numbers, SSNs, URL passwords and bearer credentials
- size limits for hashes, arrays, backtraces and strings
- per-error-type handling modes (raise, log, report)
- Sorbet-typed log structs and custom typed log classes
- request ID and tags on every line
- All 9 features
|