Lograge::Sql is an extension to the famous Lograge gem, which adds SQL queries to the Lograge Event and disable default ActiveRecord logging. This is extremely useful if you're using Lograge together with the ELK stack.
Add this line to your application's Gemfile:
gem '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'
Bug reports and pull requests are welcome on GitHub at https://github.com/iMacTia/lograge-sql.