DEV: Sidekiq::Logging is gone use Sidekiq.logger instead

This 6.0 upgrade of sidekiq moved this around.
This commit is contained in:
Sam Saffron 2019-12-10 15:09:51 +11:00
parent 33ae9679d8
commit f5396e2700

View File

@ -31,7 +31,7 @@ class Demon::Sidekiq < ::Demon::Base
# trouble, if STDOUT is closed in our process all sort of weird
# will ensue, resetting the logger ensures it will reinit correctly
# parent process is in charge of the file anyway.
Sidekiq::Logging.logger = nil
Sidekiq.logger = nil
cli = Sidekiq::CLI.instance
options = ["-c", GlobalSetting.sidekiq_workers.to_s]