Disable Production Log.

Hi guys,

How can I disable production log? My app use ajax to submit a form
every 3 seconds and updates the screen. I only have 30 users and I am
having a lot of rendering effort and cpu usage in a Pentium 4 HT.
According to the agile book, log can be a cause.

Thanks in advance.

On my apps in production I only log warnings and error messages. You might want to do the same thing.

Put this in your production.rb fileā€¦

Log only warnings + errors

config.log_level = :warn