Sha256: b8ec4a71e53c07ce35e625f0413eddbaecc65b49a5a3d67fa4836693b6b904b1
Contents?: true
Size: 569 Bytes
Versions: 6
Compression:
Stored size: 569 Bytes
Contents
require 'rails/rack/logger' module Rails module Rack # Overwrites defaults of Rails::Rack::Logger that cause # unnecessary logging. # 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) @app.call(env) ensure ActiveSupport::LogSubscriber.flush_all! end # Overwrites Rails 3.0/3.1 code that logs new requests def before_dispatch(env) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems