The AccessLogValve allows for conditional logging. So you'll need to add code (Filter or modify servlets) to add/not add an entry to the HttpServletRequest so the Valve can decide whether to log the entry.

Or much easier is an COTS access log parser.

-Tim

Justin Jaynes wrote:
What is the easiest way to monitor hits to resources
(files or pages) on my tomcat 5 server?

Do I write my own ticker into each page I want to
monitor and store the incremented value to a database?

Or is there a much simpler solution already
implimented in some tomcat management software (I have
never used any of the pre-installed software, and have
actually been disabling it.  A book recommended it not
be installed for security purposes on a production
server-- they could be wrong, I know).

Any suggestions?

Justin Jaynes


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to