Sha256: 3f94534b7fa1bf2215cf7a2c11aea360f665cfb0bece45039934a122fc6da159
Contents?: true
Size: 491 Bytes
Versions: 5
Compression:
Stored size: 491 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(*args) env = args.last @app.call(env) ensure ActiveSupport::LogSubscriber.flush_all! end end end end
Version data entries
5 entries across 5 versions & 1 rubygems