mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
The middleware can be used in a Rack appliction wrap all log messages emitted to the logger during a single request in a single emitted log event. This ensures that all data concerning the request, including log messages as well as additional fields and tags are logged as one single event. This ensures that the data is kept as a whole when the log event is handled by later systems like Logstash. Each request can be analyzed as a whole without having to group or parse complex multi-line log formats.