diff --git a/lib/sidekiq/cli.rb b/lib/sidekiq/cli.rb index ef52493f..f8d23c89 100644 --- a/lib/sidekiq/cli.rb +++ b/lib/sidekiq/cli.rb @@ -108,7 +108,7 @@ module Sidekiq when 'USR2' if Sidekiq.options[:logfile] Sidekiq.logger.info "Received USR2, reopening log file" - Sidekiq::Logging.initialize_logger(Sidekiq.options[:logfile]) + initialize_logger end when 'TTIN' Thread.list.each do |thread|