require "active_support/core_ext"

module ApiUmbrella
  module Gatekeeper
    mattr_accessor :redis

    mattr_accessor :logger

    $stdout.sync = true
    self.logger = Logger.new($stdout)
  end
end

require "api-umbrella-gatekeeper/server"

require "active_support/core_ext"

module ApiUmbrella
  module Gatekeeper
    mattr_accessor :redis

    mattr_accessor :logger
    self.logger = Logger.new(STDOUT)
  end
end

require "api-umbrella-gatekeeper/server"

--- 
+++ 
@@ -5,7 +5,9 @@
     mattr_accessor :redis
 
     mattr_accessor :logger
-    self.logger = Logger.new(STDOUT)
+
+    $stdout.sync = true
+    self.logger = Logger.new($stdout)
   end
 end
 
Disable buffering on stdout logger.
