NoMethodError `silence` On Logger Instance

Posted by Weston Ganger

After upgrading to Rails 4 from Rails 3 I was seeing this error: NoMethodError 'silence' on Logger instance. The problem had to do with a Log rotation I had in place, this just required a quick fix to the class name

# old code
config.logger =['log'].first, 100, 104857600)

# new code
config.logger =['log'].first, 100, 104857600)

Related External Links:

Article Topic:Software Development - Rails

Date:January 12, 2017

Recommended Posts



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected