Quiet Rails database logging
release
Date:
2015-12-07
Tags:
rails
logging
When developing Rails apps (4.2.x), sometimes, I want to quiet the database logging output. This is how its done:
ActiveRecord::Base.logger.level = 1
By Ryan Wold · © 2015–2026 Ryan Wold
Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.
Enjoyed this? — any BSV wallet, HandCash, or plain old dollars.