Hi Timothy, On Fri, Sep 20, 2002 at 11:43:48AM -0400, Timothy Larson wrote: > It would be helpfull if the request parameters and session attributes > were logged, but with certain ones not showing their values. > > For example: > SESSION ATTRIBUTES: > PARAM: 'username' VALUE: 'tdlarson' > PARAM: 'password' VALUE: '*****' > > Ideally, I would want to be able to specify which sensitive parameters > and attributes to hide the values of, possibly using wildcards. > Any ideas how to do this?
To do this you probably need to write your own logkit filter to check the LogEvent for these strings and modify them if needed: http://jakarta.apache.org/avalon/logkit/api/org/apache/log/filter/package-summary.html Cheers, Marcus -- ..... ,,$$$$$$$$$, Marcus Crafter ;$' '$$$$: Computer Systems Engineer $: $$$$: ManageSoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$, _/\ &&:' 60327 Frankfurt Germany ' /( &&& \_&&&&' &&&&. &&&&&&&: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>