mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
note logging
This commit is contained in:
parent
2168c85d2c
commit
e3839682a3
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue