Hi,
Vincent Massol wrote:
On Sep 13, 2008, at 11:30 PM, Jonas von Malottki
wrote:
Oh, Hibernate now uses slf4j, which I once suggested for use in XWiki
(Again it is *not* an implementation, it's just a facade, with plug-
able
implementations.)
But we don't need it... We have our own simple facade which can be
plugged to any logging system including slf4j.
See
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-component/src/…
Ah, seeing this remembered me, that I wanted to introduce one of the
slf4j features: delayed expanding of messages for logging see:
http://n2.nabble.com/Logging-architecture-proposal-tt516791.html#none
I have done a small patch with this now (attachment). Or should I create
a Jira issue?
An SLF4J Logger implementation is also very easy then. And I can use it ;).
Greetings
Jonas
I'm completely against replacing it with any external framework since
those frameworks come and go. As an example the de facto standard was
log4j a few years ago, then came commons-logging, then it was included
in the JDK, then now slf4j. Then who knows what will happen tomorrow.
Our rule is to use our own interface for all our core components so
that we are independent of such changes.
Thanks
-Vincent