This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
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.
posted 12 years ago
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!