Rails - how to disable all console logging?
You can turn off the SQL queries. I know they take a lot of room.
Disable Rails SQL logging in console
Try changing the log level, which is info by default.
From the Guides: http://guides.rubyonrails.org/debugging_rails_applications.html#log-levels
Change the log level in config/environments/development.rb
, and/or testing.rb
:
config.log_level = :error
The log levels available are: :debug
, :info
, :warn
, :error
, :fatal
, and :unknown
, which correspond to the integers 0
-5
.