Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Logging messages to database

807603Oct 17 2007 — edited Oct 25 2007
Hi,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 22 2007
Added on Oct 17 2007
11 comments
3,258 views