tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Conditional logging
Date Thu, 01 Oct 2015 18:47:26 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aurélien,

On 10/1/15 10:40 AM, Aurélien Terrestris wrote:
> A late reply to this topic... Without the conditional test provided
> by the Rewrite (native Tomcat 8 Rewrite or url-rewrite), it is
> possible to use an Apache in front of the Tomcat which will have
> two ProxyPass, and two virtual hosts on the Tomcat itself (one
> servicing anything but the healtheck, the other one for the
> healthcheck without logging valve). As the wildcard is not 
> supported by ProxyPass, we can use ProxyPassMatch for this
> purpose.

That seems reasonable. Are you just trying to avoid filling your logs
with health-check requests? I would personally rather have those
requests showing in the log; they can be filtered-out later before
logfile analysis if you want to ignore them then.

But Tomcat *is* handling the requests, so I'd want them logged.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJWDX+9AAoJEBzwKT+lPKRYe20QAI3sXL57X7tFoB9P+OKAgwEv
tmj7/f89oZwY+K85eqntQWIQgxHAFOh4NjASjOBmeeXaB39+KoBLjegRlaOPssmi
ynukIUhSnUHfgOBQj9o4MgHjYRLoE5aeZ7obkZDoEj3uQ9hdCruNNMW4X+i2Fu24
8GawKVlUUrgQK3U25RRtBhGFcGY6oXpgvRoiii6KKha+NPs//RPH82weG+nK4uHA
lh9OQ3oV0AVwsyPGoewvHYX/LOoqTMMBu2t/Wpo43NEAr9giWt38vz9d62/1PvfV
3jDau8U1N0GS37SOj3cdLT0RcAieofNIJcwUaiZ0lsZckfPhZ3k/vW7zf0lm/oRI
o8wzWcaXelJjMoaEbdfPZLHoKxP0cNi7S6dZv/fVe8foflsHfwc20Wo7cYBVaVuO
a/NpwI5etQvRRHIyfLhveERi0bMV+S3g7Bfmo6PGYH3hLRQtr+s+zqbCgT9PT0oN
NNvsI6wV92gH8FDvRQlFSFbA80uiWsUed6GtuX3TInOxrEf9JzpBESgPuaam6xu7
9Q5miy2ZFyOaaMmfYuXveeCzlnXZviCMisbLrZJ43oDKhC4FftmVPZhuFBDzNWZF
Q3MeOHYgrCdyh/Ro5l/w930nuOIRQlWoVWGWqvLLyfgKPx/JXGccGV6MK6PmCl1h
ddQCXfD0A8Q8je9o/de0
=0nOi
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message