Use Appydays::Loggable::SidekiqJobLogger.set_job_tags(tags)
for tags to be logged in job_done
and job_fail
messages, and Appydays::Loggable::RequestLogger.set_request_tags(tags)
for tags to be logged in request_finished
messages.
Allows you to add context to a single request/job, without adding more messages, or tags to all nested logs.
What's Changed
- Add set_job_tags support for better job logs by @rgalanakis in #15
- Add threadlocal request tags, like job tags by @rgalanakis in #16
Full Changelog: 0.10.0...0.12.0