> We see 404 error in localhost_access so this the place from where we can > dig into. > Is there any way we can enhance the logging/information in > localhost_access_log. > Or then how can debug what happens between user requests and 404 response,? >
Outside of performance monitoring tools, you might try a custom 404 error that points to a servlet. Within that servlet you can capture information and log to a separate 404 log file (say, using LogBack). There are a few pages on the web that describe this process. Here's one: http://www.journaldev.com/1973/servlet-exception-and-error-handling-example-tutorial Best, John