# ActionWebService Logging - Huge!

**URL:** <https://www.ruby-forum.com/t/actionwebservice-logging-huge/134005>\
**Category:** Rails\
**Created:** [April 6, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/actionwebservice-logging-huge/134005 "2008-04-06T14:47:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![giantcranes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ecd19e/32.png) [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Post date:** [April 6, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/actionwebservice-logging-huge/134005/1 "2008-04-06T14:47:23Z")

</div>

Hi,

I am uploading files to my application using ActionWebService. Looking  
at my production.log I noticed that the uploaded base64 data is being  
included. This is causing the log file to be huge and is something that  
I would like to avoid.

What is the best way to turn off logging for ActionWebService?

Thanks,  
GiantCranes

---

<div class="post-metadata">

**Author:** ![giantcranes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ecd19e/32.png) [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Post date:** [April 6, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/actionwebservice-logging-huge/134005/2 "2008-04-06T15:29:15Z")

</div>

To answer my own question, the following will remove the Envelope param  
from logging:

class ApplicationController \< ActionController::Base  
filter\_parameter\_logging :Envelope  
end
