Which log implementation should I extend?

Peter Neubauer <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Hi,
I am trying to extend the logging to extract certain information from a custom 
object and to format it using Velocity and the log4j/logKit notation. I did 
it for log4j, but that requires me to extend the appender 
(MyRollingFileAppender etc), and I have to provide the data by using a 
special log category and a special data in the message:

Logger mySpecialLogger = 
Logger.getLogger("my.special.logging.system");  //log4j loggers
logger.debug(mySpecialCustomObject);


Reading the logkit documentation on the site, it seems providing the data via 
the context would be much more non-intrusive, and the user would not have to 
worry about special contexts since we are using LogKit as the default logging 
system, so that could be configured in the setup for the whole system.

Is it wise to dig into that deeper, e.g. what are the plans for LogKit? I'm 
kind of unsure. It seems nice but there is little talk about it.

/peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.