Class: Esse::Rails::Lograge::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Esse::Rails::Lograge::Railtie
- 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