1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Don't clear Celluloid logger if verbose

This commit is contained in:
Mike Perham 2012-08-13 20:23:14 -07:00
parent ae2837bd86
commit c449d25513

View file

@ -58,7 +58,7 @@ module Sidekiq
options.merge!(config.merge(cli)) options.merge!(config.merge(cli))
Sidekiq.logger.level = Logger::DEBUG if options[:verbose] Sidekiq.logger.level = Logger::DEBUG if options[:verbose]
Celluloid.logger = nil Celluloid.logger = nil unless options[:verbose]
validate! validate!
write_pid write_pid