Log the request started and flush all loggers after it.
Methods
- C
- N
Class Public methods
Instance Public methods
Instance Protected methods
# File railties/lib/rails/rack/logger.rb, line 22 def call_app(env) request = ActionDispatch::Request.new(env) path = request.filtered_path Rails.logger.info "\n\nStarted #{request.request_method} \"#{path}\" for #{request.ip} at #{Time.now.to_default_s}" @app.call(env) ensure ActiveSupport::LogSubscriber.flush_all! end