Re: Filtering HTTP OPTIONS request method from logs?

2013-09-17 Thread Jim Barber
On 17/09/2013 5:05 PM, André Warnier wrote: Jim Barber wrote: All, On 16/09/2013 10:52 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felix, On 9/16/13 10:25 AM, Felix Schumacher wrote: Am Montag, den 16.09.2013, 10:02 -0400 schrieb Christopher Schultz

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Jim Barber
All, On 16/09/2013 10:52 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felix, On 9/16/13 10:25 AM, Felix Schumacher wrote: Am Montag, den 16.09.2013, 10:02 -0400 schrieb Christopher Schultz: Jim, On 9/16/13 3:42 AM, Jim Barber wrote: I'm hoping someo

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Jim Barber
oid log(Request request, Response response, long time) { if (Arrays.asList(exclude.split(",")).contains(request.getMethod())) { return; } super.log(request, response, time); } But there must be something better. 2013/9/16 Jim Barber : Hi all. I'

Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Jim Barber
ervletRequest attribute that is null when the http request method is not using "OPTIONS"? Or am I completely off track and there is a different way to filter these access log messages? Regards, -- Jim Barber - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org