On my production server I get thousands of
Started GET ... Completed 200 OK
In production.log
This definitely eats resources: Rails needs to write this unnecessary info down, and it takes precious server space.
Besides I want to see only error reports and my own logger.info/e开发者_如何学运维rror calls.
How can I disable rendering logging?
take a look at your config/environments/production.rb
file for the config.log_level
variable.
Keep in mind however, that on a database failure, you can use the info statements to recreate data lost via user input between last db backup and database restore.
other tips and suggestions here
精彩评论