Add this line to your application's Gemfile:
gem 'tagged-lograge-sql'
In order to enable SQL logging in your application, you'll simply need to add this on top of your lograge initializer:
# config/initializers/lograge
require 'lograge/sql/extension'