Class: Esse::Rails::Lograge::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/esse/rails/lograge.rb

Overview

Require the component in your ‘application.rb` file and enable Lograge:

require 'esse/rails/lograge'

You should see the full duration of the request to Elasticsearch as part of each log event:

method=GET path=/search ... status=200 duration=380.89 view=99.64 db=0.00 search=279.37