# Stop the output of parameters in the log file?

**URL:** <https://www.ruby-forum.com/t/stop-the-output-of-parameters-in-the-log-file/125477>\
**Category:** Rails\
**Created:** [January 9, 2008, 2:43pm UTC](https://www.ruby-forum.com/t/stop-the-output-of-parameters-in-the-log-file/125477 "2008-01-09T14:43:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [January 9, 2008, 2:43pm UTC](https://www.ruby-forum.com/t/stop-the-output-of-parameters-in-the-log-file/125477/1 "2008-01-09T14:43:37Z")

</div>

Hi, how does one stop the called parameters being output into  
production.log? It is rather unsecure!

---

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [January 9, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/stop-the-output-of-parameters-in-the-log-file/125477/2 "2008-01-09T14:48:54Z")

</div>

Hi –

On Wed, 9 Jan 2008, phil wrote:

> Hi, how does one stop the called parameters being output into  
> production.log? It is rather unsecure!

There’s a controller class method called filter\_parameter\_logging.

David

–  
Training for 2008!  
Ruby on Rails training by David A. Black/Ruby Power and Light, LLC:  
\* Intro to Rails, New York, NY, February 4-7 2008  
\* Advancing With Rails, New York, NY, February 11-14 2008  
Hosted by Exceed Education. See [http://www.rubypal.com](http://www.rubypal.com) for details!
