News: LogFeeder 1.0, for viewing java.util.logging output
Clint Combs has announced the release of LogFeeder 1.0, a Swing client application that listens for logging events from java.util.logging on a socket. As the application's home page says, it's not complete yet (despite the 1.0 release number), but might be of use for people who leverage the built-in logging Java libraries for logging.
- Posted by: Joseph Ottinger
- Posted on: May 05 2006 07:23 EDT
Configuring java.util.logging for the use of LogFeeder is pretty easy. However, one caveat is that setting up j.u.l to use the SocketHandler means you're going to want to have an instance of LogFeeder running - otherwise, initialization of the Logger will throw an exception. (Possibly this is a candidate for a future enhancement of LogFeeder or j.u.l itself.)
- LogFeeder 1.0, for viewing java.util.logging output by Neil Bartlett on May 05 2006 08:26 EDT
- LogFeeder 1.0, for viewing java.util.logging output by Joseph Ottinger on May 05 2006 08:38 EDT
- LogFeeder 1.0, for viewing java.util.logging output by Fabrizio Gianneschi on May 05 2006 08:47 EDT
- LogFeeder 1.0, for viewing java.util.logging output by Calum Shaw-Mackay on May 05 2006 09:17 EDT
- SMTPHandler for java.util.logging by Sean Sullivan on May 05 2006 14:31 EDT
- LogFeeder 1.0, for viewing java.util.logging output by Arik Kfir on May 06 2006 07:57 EDT
What about security? Log messages often contain sensitive information... if I make them available over a socket, who else might connect?
What about security? Log messages often contain sensitive information... if I make them available over a socket, who else might connect?Obviously, security isn't a huge deal here, and it'd be easy enough to create a Handler that did take security into account, although that'd be invasive for the runtime.
Also che Chainsaw project has similar features and the socket option. It's easy to log both Log4J and util.logging sources.
Eros does a similar thing but provides a Jini service as a logging handler and places the log messages into a database, which can then be queried. Version 1.0 will be released in the next few days - http://eros.jini.org ( or the new site (when approved @ http://eros.dev.java.net )
I ported Log4j's SMTPAppender to java.util.logging.
The project is known as SMTPHandler:
Does anyone really use the java.util.logging package?? I mean, levels like fine, finer, finest...what were they thinking? Why can't I just do "log.debug(..)". I'm sticking to log4j...