1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

note logging

This commit is contained in:
Mike Perham 2019-09-02 09:43:55 -07:00
parent 2168c85d2c
commit e3839682a3

View file

@ -17,6 +17,13 @@ class MyJob < ActiveJob::Base
end end
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` - **BREAKING CHANGE** Validate proper usage of the `REDIS_PROVIDER`
variable. This variable is meant to hold the name of the environment variable. This variable is meant to hold the name of the environment
variable which contains your Redis URL, so that you can switch Redis variable which contains your Redis URL, so that you can switch Redis