lib/sneakers/runner.rb in sneakers-2.6.0 vs lib/sneakers/runner.rb in sneakers-2.7.0

- old
+ new

@@ -56,12 +56,11 @@ [:before_fork, :after_fork].each do | hook | Sneakers::CONFIG[:hooks][hook] = config.delete(hook) if config[hook] end - - Sneakers.logger.info("New configuration: #{config.inspect}") + Sneakers.logger.debug("New configuration: #{config.inspect}") config end private @@ -71,9 +70,10 @@ # Pass our logger object so there's no issue about sometimes passing a # file and sometimes an object. serverengine_config = Sneakers::CONFIG.merge(@conf) serverengine_config.merge!( :logger => Sneakers.logger, + :log_level => Sneakers.logger.level, :worker_type => 'process', :worker_classes => @worker_classes, # Turning off serverengine internal logging infra, causes # livelock and hang.