lib/lograge/rails_ext/rack/logger.rb in lograge-0.0.6 vs lib/lograge/rails_ext/rack/logger.rb in lograge-0.1.0

- old
+ new

@@ -7,10 +7,11 @@ # This effectively removes the log lines from the log # that say: # Started GET / for 192.168.2.1... class Logger # Overwrites Rails 3.2 code that logs new requests - def call_app(env) + def call_app(*args) + env = args.last @app.call(env) ensure ActiveSupport::LogSubscriber.flush_all! end