setting Sidekiq::Logging.logger to nil unless  is true