[Catalyst] Advice Needed on Masking Sensitive Content from Logs

Tomas Doran bobtfish at bobtfish.net
Thu Apr 16 07:56:58 GMT 2009


On 16 Apr 2009, at 00:27, Ewan Edwards wrote:

<snip>

> As you can see, I've taken the opportunity to mask the password  
> from the log too.
>
> My question is: is there a better, or more Catalyst-approved way of  
> accomplishing this? This seemed to be the most direct/simple way,  
> but it would have been nice if the Text::SimpleTable stuff was in a  
> method of its own.

This comes up every couple of months, and I for one would like to see  
it happen in a generic way.

There was a patch for this back in January, which is almost but not  
quite generic enough to apply.

See this patch:

http://dev.catalyst.perl.org/svnweb/Catalyst/revision/?rev=9138

and this thread:

http://lists.scsys.co.uk/pipermail/catalyst/2009-January/020628.html

If you're interested in helping make this a little more generic (read  
to the end of the thread for more info about what we consider wrong  
with the patch as it stands), then I'm more than happy to branch 5.80  
so we can finish thrashing it out, and get it included in core.

Cheers
t0m




More information about the Catalyst mailing list