Is there a way to disable SQL logs in Rails, other than changing the log level? I\'ve got some logger.debug statements that I\'d like to print out in my ActiveRecord models, but
You can moneky-patch it, put this in a file such as config/initializers/disable_ar_logging.rb:
config/initializers/disable_ar_logging.rb
class ActiveRecord::ConnectionAdapters::AbstractAdapter def log_info(*args); end end