Discussions

News: LogFeeder 1.0, for viewing java.util.logging output

  1. 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.

    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.)
  2. What about security? Log messages often contain sensitive information... if I make them available over a socket, who else might connect?
  3. 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.
  4. Also che Chainsaw project has similar features and the socket option. It's easy to log both Log4J and util.logging sources.

    http://logging.apache.org/log4j/docs/chainsaw.html
  5. 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 )

    --Calum
  6. I ported Log4j's SMTPAppender to java.util.logging.

    The project is known as SMTPHandler:

     http://smtphandler.sourceforge.net/
  7. 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...