Turn off email logging in Rails

Oftentimes, I don't need every single email saved into the log file. When I'm developing, they get in the way. In a production environment, they take up a lot of room make the log harder to read.

So, I normally put this in my environment.rb:
ActionMailer::Base.logger = nil

Established 2005 · Databasically © 2016