File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Logger used with DB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Logger used with DB" Watch "Logger used with DB" New topic
Author

Logger used with DB

El Durango
Greenhorn

Joined: Oct 09, 2003
Posts: 23
Hi I want to have my application support logging, and I have been looking at the java logging package. Now from reading through it, if you want to log to a certain areas such as the console, a file or whatever you will need to call a handler that has support for these such as consoleLogger or fileLogger. Now if I wanted to log into a Database, do I just have to extend the Handler class and overwrite the methods or is there a premade handler for that.
Does anyone have any info/idea on this??
thank you.
Zkr Ryz
Ranch Hand

Joined: Jan 04, 2001
Posts: 187
There's an article on this. Look into the Java Developers Journal magazine the volume 7 issue 3 the article is named "Extending the J2SE 1.4 Logging package " and it explains excactly what you want.
Byte!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logger used with DB
 
Similar Threads
Java Logging question
Customized logging with Apache Muse
unable to log ...
J2EE and Logging
Java Logging Question