Solved

Log4j logging to Database MySQL Tutorial

Posted on 2006-07-20
3
3,985 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Basic Java Case or If-Else statement... 3 57
Apps blocked by Java 9 88
Selenium and Interactive Data Language 3 43
SQL Insert parts by customer 12 43
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.

820 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