
dbix-class at trout
Jan 27, 2006, 10:28 AM
Post #2 of 5
(1528 views)
Permalink
|
On Fri, Jan 27, 2006 at 09:50:04AM -0800, Cory Bennett wrote: > Hello! I have recently started using Catalyst and I ran into a problem where > I want to supress part of a log statmement. My site has a login page and so > when somone tries to login I see something like this in the logs: > > [Fri Jan 27 02:16:00 2006] [catalyst] [debug] Body Parameters are: > .----------------------------+--------------------------. > | Key | Value | > +----------------------------+--------------------------+ > | password | foobar | > | username | joeuser | > '----------------------------+--------------------------' > > I am trying to figure out the best way to supress the password from being > logged, but still arrange so my controller has access to the raw password. Erm, don't run production sites in debug mode? -- Matt S Trout Offering custom development, consultancy and support Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ + _______________________________________________ Catalyst-dev mailing list Catalyst-dev[at]lists.rawmode.org http://lists.rawmode.org/mailman/listinfo/catalyst-dev
|