From e3839682a3d219b8a3708feab607c74241bc06b8 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Mon, 2 Sep 2019 09:43:55 -0700 Subject: [PATCH] note logging --- Changes.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Changes.md b/Changes.md index 8d5e2c90..eb7931b6 100644 --- a/Changes.md +++ b/Changes.md @@ -17,6 +17,13 @@ class MyJob < ActiveJob::Base end end ``` +- Logging has been redesigned to allow for pluggable log formatters: +```ruby +Sidekiq.configure_server do |config| + config.log_formatter = Sidekiq::Logger::Formatters::JSON.new +end +``` +See the [Logging wiki page](https://github.com/mperham/sidekiq/wiki/Logging) for more details. - **BREAKING CHANGE** Validate proper usage of the `REDIS_PROVIDER` variable. This variable is meant to hold the name of the environment variable which contains your Redis URL, so that you can switch Redis