RE: Logging to db

2006-11-21 Thread Lance Semmens
It would be easy enough to do by writing a custom javax.servlet.Filter. You would map your Filter to "*.do" in web.xml. Alternatively you could configure a JDBC appender in log4j for "org.apache.struts.action.RequestProcessor" at level "debug" although you might find a bit too much junk is bein

RE: Logging to db

2006-11-21 Thread Gundersen, Richard
Log4j provides this functionality Look at the docs for these two classes org.apache.log4j.jdbcplus.JDBCLogger; org.apache.log4j.jdbcplus.JDBCSqlHandler; I've implemented it here, and it works great. Richard -Original Message- From: Søren Blidorf [mailto:[EMAIL PROTECTED

Re: Logging to db

2006-11-21 Thread Nuwan Chandrasoma
i think you can configure log4j do log messages to a DB, hope it will help you. - Original Message - From: "Søren Blidorf" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 21, 2006 1:19 PM Subject: Logging to db Hi. I what to log every user action on my application and save it in