Solved

Log4j logging to Database MySQL Tutorial

Posted on 2006-07-20
3
3,984 Views
Last Modified: 2012-05-05
I want to get some overview and examples of using Log4j with databases. If anyone has any tutorial or resources which can help me implement this, Please guide me to that.

Waiting....
0
Comment
Question by:geek4u
3 Comments
 
LVL 5

Accepted Solution

by:
Dbergert earned 500 total points
ID: 17149027
0
 
LVL 10

Expert Comment

by:jagadeesh_motamarri
ID: 17151594
0
 

Author Comment

by:geek4u
ID: 17153873
I am trying to modify the code which already uses Log4j to log statements into a file. My question is "What needs to be changed so that the statements are written to a DataBase".

Whether i just need to just change the properties file or i need to do anything else like changing the source code or layout. I have created a table also for logging info.

Please explain with a short example.

Thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now