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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With