
Here's what I'd like to do. I have an idea how I would do but would like feedback and to know if someone has already done this before I spend time. 1. when a user logs in, I would like to create a new appender just for their actions. 2. during the course of the user's interactions (new code is entered, an exception is encountered which is not fatal but puzzling), I would like to make the logging finer. 3. by some action (a link at the top of the page or a fatal/really bad exception is encountered), I would like to package up these collected logs and notify someone. 4. if someone with appropriate rights logs into a server, the admin can watch the logs for that user's session. basically, I want a per-session flight recorder. I plan to use MDC to stuff interesting things for the appender of course. Any problems with this or recommendations? I plan on either using Tomcat/Spring or JEE6. In those environments, is there a recommended way of doing reasonably reliable DB operations? thanks, greg