lib/flapjack/gateways/jsonapi.rb in flapjack-1.2.0rc1 vs lib/flapjack/gateways/jsonapi.rb in flapjack-1.2.0rc2
- old
+ new
@@ -181,10 +181,10 @@
use ::Rack::MethodOverride
use Flapjack::Gateways::JSONAPI::Rack::JsonParamsParser
class << self
def start
- @redis = Flapjack::RedisPool.new(:config => @redis_config, :size => 2)
+ @redis = Flapjack::RedisPool.new(:config => @redis_config, :size => 2, :logger => @logger)
@logger.info "starting jsonapi - class"
if @config && @config['access_log']
access_logger = Flapjack::AsyncLogger.new(@config['access_log'])