Hi folks.
Just wondering why Logkit is about to be deprecated in favor of upcoming Log4j v2.0 ? I used LogKit for some time and it does job what it's made for, and is much less cumbersome that Log4j ... One could argue why develop and maintain one package (LogKit) when there's anther one more popular out there (Log4j), but then again I believe it could be said for some other parts of Avalon - for ie. why not use commons-logging instead of avalon's logger wrapper package ?
Part of the decision (while not 100% official seems to be the consensus) has to do with a focus on the Avalon containers. Avalon LogKit has only been touched when there is an issue or enhancement that a user asks for. Otherwise, we just haven't been keeping up with it.
We did have some concerns with Log4J in the beginning, especially in regards to size and modularity. In the end, the Log4J developers took to heart our concerns, and one by one left us with fewer reasons to maintain LogKit as an official Avalon project. The big kicker for us was that Log4J 2.0 will not force a static accessor approach to obtain the logger. There really is no basic philisophical reason to keep them different.
As to your comment regarding commons logging, we debated on that several times. The major reason we chose not to use commons logging had to do with the automatic logger system resolution logic and the static accessors to get the loggers. In environments that are quite common for Avalon like Servlet containers or other server side systems, there was no way to guarantee that the logger returned from commons logging was the one configured for that application.
In fact, Ceki Gulku (the original author of Log4J) wrote a very good paper describing the things wrong with Commons logging, and the problems it introduces. I don't have a link available right now, though.
Lastly, the "deprecation" is more in the form of the preferred or packaged logging system. LogKit will be available in its current form for a while, so I don't think it should be a cause for too much panic.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
