ExtendedAccessLogValve

2017-01-19 Thread Farhan Tariq
Hello Team, we have tomcat 7.0.68 deployed on linux and start using ExtendedAccessLogValve.class. To capture the log in local system timezone we change the following line "currentTimestampFormat.setTimeZone(TimeZone.getTimeZone("GMT"))" into "currentTimestampFormat.setTimeZone(TimeZone.getDefault

Fwd: ExtendedAccessLogValve return time in GMT

2016-12-13 Thread Farhan Tariq
Dear Team, I just started using ExtendedAccessLogValve to log some parameters, but this class return time in GMT where as we are operating @ GMT+5. Please guide me how I can write my logs in GMT+5 using ExtendedAccessLogValve class. Thanks Farhan

Re: ExtendedAccessLogValve, documentation

2011-07-21 Thread Konstantin Kolinko
2011/7/21 André Warnier : > Hi. > > I just looked at this, and have the following questions/suggestions : > > 1) suffix > 3) x-H(requestedSessionId): getGequestedSessionId (typo ?) Fixed in r1149104. > 2) condition > > current: > Turns on conditional logging. (...) > suggestion: > Intuitive

ExtendedAccessLogValve, documentation

2011-07-20 Thread André Warnier
Hi. I just looked at this, and have the following questions/suggestions : 1) suffix The suffix added to the end of each log file's name. If not specified, the default value is "". To specify no suffix, use a zero-length string. (or do not specify it, which is then the same, right ?)

Re: Time taken in millis in ExtendedAccessLogValve

2009-09-24 Thread Rainer Jung
On 24.09.2009 10:32, Xavier wrote: > > Hello, > > First of all, sorry if this question was alerady asked... > We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0 > later) and our app to serve requests. > The ExtendedAccessLogValve provides a nice da

Re: Time taken in millis in ExtendedAccessLogValve

2009-09-24 Thread Leon Rosenberg
nanoseconds :-) On Thu, Sep 24, 2009 at 10:32 AM, Xavier wrote: > > Hello, > > First of all, sorry if this question was alerady asked... > We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0 > later) and our app to serve requests. > The ExtendedAccessLogValve

Time taken in millis in ExtendedAccessLogValve

2009-09-24 Thread Xavier
Hello, First of all, sorry if this question was alerady asked... We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0 later) and our app to serve requests. The ExtendedAccessLogValve provides a nice date/time output format, but the doc says the time taken is logged in se

RE: ExtendedAccessLogValve pattern?

2009-02-03 Thread CameronL
I decided to dig through the source code myself as well and also found that this is the case, so thanks. Not exactly sure why they subclassed this without inheriting any of that functionality. Caldarale, Charles R wrote: > >> From: CameronL >> Subject: ExtendedAccessL

RE: ExtendedAccessLogValve pattern?

2009-02-02 Thread Caldarale, Charles R
> From: CameronL [mailto:cameron.develo...@gmail.com] > Subject: ExtendedAccessLogValve pattern? > > Can you not mix the different field patterns like this? A quick look at the code says you can't - you have to use the W3c fields, as documented here: http://tomcat.apache.org/t

ExtendedAccessLogValve pattern?

2009-02-02 Thread CameronL
I'm attempting to configure my Tomcat 6 installation to print out a few POST parameters. I understand that in order to do this, I'll need to configure the ExtendedAccessLogValve and use the 'x-P(XXX)' field to print out the parameter I want. However, when I mix with