# Filter email form production-log?

**URL:** <https://www.ruby-forum.com/t/filter-email-form-production-log/139381>\
**Category:** Rails\
**Created:** [June 3, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/filter-email-form-production-log/139381 "2008-06-03T12:50:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@peter](https://www.ruby-forum.com/u/peter)\
**Post date:** [June 3, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/filter-email-form-production-log/139381/1 "2008-06-03T12:50:18Z")

</div>

Is it possible to filter the generated emails from the production-log?  
I’d like to remove them there, since there is some private-info in  
them…

---

<div class="post-metadata">

**Author:** ![peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@peter](https://www.ruby-forum.com/u/peter)\
**Post date:** [June 3, 2008, 2:04pm UTC](https://www.ruby-forum.com/t/filter-email-form-production-log/139381/2 "2008-06-03T14:04:55Z")

</div>

Peter wrote:

> Is it possible to filter the generated emails from the production-log?  
> I’d like to remove them there, since there is some private-info in  
> them…

in config/environments/production.rb

config.action\_mailer.logger = nil
