Re: Trace clients actions

2006-09-06 Thread Bryan Lewis
Right... that's been working well for us. I have a request listener method in a POJO: import org.apache.log4j.MDC; public class EventListener implements ServletRequestListener // among others { public void requestInitialized(ServletRequestEvent sre) { HttpServletRequest req = (Ht

Re: Trace clients actions

2006-09-06 Thread Jérôme BERNARD
I guess, you are speaking of the MDC (Mapped Diagnostic Context) feature in log4j. This is somehow a j.u.Map context that can be used in log statements. You are the one responsible for correction populating the context map. Regards, Jérôme. On 9/6/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I

Re: Trace clients actions

2006-09-06 Thread Jesse Kuhnert
I know one of the logging packages has a feature that allows you to bind logging output to a particular user associated with a particular servlet session. I'd probably go that route. The syntax in the logger involved something along the lines of "%u" I think. On 9/6/06, Henri Dupre <[EMAIL PROTEC

Trace clients actions

2006-09-06 Thread Henri Dupre
I'm experiencing some strange bugs and I can't figure out how our customers browsing our website cause these problems. How could I trace the actions people do on the website in order to be able to reproduce them? (and also without killing the log files) -- Henri Dupre Actualis Center