Reputation: 36101
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/error calls.
How can I disable rendering logging?
Upvotes: 5
Views: 1333
Reputation: 14671
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
Upvotes: 4