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.
Joined: Jan 04, 2001
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!