Tomcat 9 Use Case 1: I want to store the last N number of URLs sent to Tomcat 9 application. Then if Tomcat shuts down I want to write out these last N number of URLs to the log file.
Strategy: I figured I would use a valve to keep track of the last N number of URLs. However I don’t know how to tell when the valve is shutting down. Does anyone have any suggestions? Thanks, Lance