opened
alan
username_0
Output sidekiq logs in logstash compatible format.

In order to work it:
- Broadcasts any sidekiq logs to the logstash log file with a new log formatter
- Sets up an ActiveSupport Notification subscriber for ActiveJob performed events to store those events for later use
- The formatter combines data from the active job event and sidekiq log data to output a useful log message

It needs to combine Sidekiq logs with ActiveJob events because the ActiveJob events alone don't have enough data for job failure as it doesn't know if the job will be retried. Sidekiq on the other hand doesn't log detailed enough data about what job is exactly running. For example, with mailers all it logs the is the ActiveJob wrapper class (ActionMailer::DeliveryJob) and does not log the arguments when the job is successful.
Sidekiq logstash logs
issue
created
SteveMarshall
username_1
It'd be good if this PR and the commit within it followed the [alphagov git styleguide](https://github.com/alphagov/styleguides/blob/master/git.md).

Other than that, and a few bits in need of clarification, it looks good to me!
comment
created
SteveMarshall
username_1
💥
comment
created
alan
username_0
Thanks!
comment