[Catalyst] Advice Needed on Masking Sensitive Content from Logs
bobtfish at bobtfish.net
Thu Apr 16 07:56:58 GMT 2009
On 16 Apr 2009, at 00:27, Ewan Edwards wrote:
> 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:
and this thread:
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.
More information about the Catalyst