Logging messages to database
807603Oct 17 2007 — edited Oct 25 2007Hi,
I have done an example using JSP/Struts. I am trying to log user events using log4j.
I am able to log messages with methods log.info('message') and log.warn('message') to a text file.
Now am trying to log these user events to a database table.
Could any one provide me any references? Googled on this but failed to get an appropriate solution.
Below is the most relevant one I could peep into, but little confused about the code in it.
http://www.nabble.com/Need-help-with-database-logging-for-JDK-1.1.8-t4583186.html
Any help would be greatly appreciated.