How to Silence SQLite3 logger in Sinatra with Active Record? How to Silence SQLite3 logger in Sinatra with Active Record? sqlite sqlite

How to Silence SQLite3 logger in Sinatra with Active Record?


ActiveRecord::Base.logger.level = 1

Any value of 1 or greater works. I guess it may work for other databases as well.

Reference