lib/heavylog.rb in heavylog-0.0.23 vs lib/heavylog.rb in heavylog-0.0.24
- old
+ new
@@ -52,10 +52,10 @@
def attach_to_sidekiq
return unless config.log_sidekiq
Sidekiq.configure_server do |config|
- config.job_logger = SidekiqLogger
+ config.options[:job_logger] = SidekiqLogger
end
Sidekiq.error_handlers << SidekiqExceptionHandler.new
end