Tomcat Valve, how to Create Pattern

2006-03-27 Thread Scott Purcell
Tomcat 5.5 OS=Win2000 I would like to change the pattern for a valve in my server.xml. The API shows when you have the element pattern for the AccessLogValve that you give it a name. So where can I define a pattern for my needs, give it a name, then use it? Does anyone have an example of that?

Re: Tomcat Valve, how to Create Pattern

2006-03-27 Thread Jon Wingfield
I may be wrong but I think there are only two predefined names: common and combined. For all others you set the pattern attribute to the required number and ordering of pattern elements as defined in the docs. From the docs: The shorthand pattern name common (which is also the default)