Middleware insert before Rails::Rack::Logger