简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM