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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to