<div>Hello all,</div>Some time ago, I submitted a preliminary patch to support filtering of certain query/body parameters so that sensitive data isn&#39;t logged in the debug logs.  t0m++ gave me some feedback off-list and created a branch in SVN for me to commit on.  I developed the patch into something more feature-worthy, committed it and promptly forgot to do anything more with it :-)<div>
<br></div><div>So, consider this an official RFC on the requested param filtering functionality.  You can checkout the branch in svn (which was just updated with a merge from trunk by t0m) here: <a href="http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.80/branches/param_filtering">http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.80/branches/param_filtering</a> </div>
<div><br></div><div>Or, if you prefer to just take a peek in svnweb, here&#39;s the link: <a href="http://dev.catalystframework.org/svnweb/Catalyst/log/Catalyst-Runtime/5.80/branches/param_filtering/">http://dev.catalystframework.org/svnweb/Catalyst/log/Catalyst-Runtime/5.80/branches/param_filtering/</a> (the most recent commit listed being the trunk merge), the interesting parts being the 2nd and 3rd commits from the bottom (<a href="http://dev.catalystframework.org/svnweb/Catalyst/revision/?rev=10942">10942</a> and <a href="http://dev.catalystframework.org/svnweb/Catalyst/revision/?rev=10943">10943</a>) on that page.</div>
<div><br></div><div>Or, if that&#39;s even too much work, the basic functionality I implemented follows (full disclosure: I modeled this after Rails param filtering functionality):</div><div><ul><li>Param filtering (body, query or both):</li>
<ul><li>filtering by (Iiteral) parameter name</li><li>filtering by regular expressions matched against the parameter name</li><li>filtering by callback</li></ul><li>Additional (and/or refactored) Request/Response debug logging</li>
<ul><li>Request header logging (filterable like param filters described above)</li><li>Response header logging (again, filterable, if necessary)</li></ul></ul><div class="gmail_quote">Comments and suggestions welcome.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Brian Phillips</div></div>