Search code examples
ruby-on-railswebrickverbose

WEBrick rails server verbosity


Is there a way to start the WEBrick server with no verbosity. I feel like it logs too much information. For example:

rails s --verbose=false

Solution

  • You can change the log level in your Rails configuration.

    config.log_level = :warn # In any environment initializer, or
    Rails.logger.level = 0 # at any time
    

    http://guides.rubyonrails.org/debugging_rails_applications.html#log-levels