directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <>
Subject Re: FATAL in SLF4J, was: [VOTE] Logging Direction
Date Tue, 05 Jul 2005 12:11:28 GMT
At 07:13 AM 7/5/2005, Nick Faiz wrote:
>Encouraging ... :)
>I'll take another look this evening.

Nick, please try using NLOG4J version 1.2.14 which should solve the
compatibility issue with Jakarta Commons Logging.

As mentioned in my previous message, while printing methods in log4j
take an argument of type java.lang.Object, the org.slf4j.Logger
interface imposes that this parameter be of type
java.lang.String. NLOG4J loggers which directly implement the
org.slf4j.Logger interface relay this restriction.

Luckily, JCL uses a special printing method which lies beyond those
found in the org.slf4j.Logger interface. NLOG4J release 1.2.14
modifies this special printing method so as to retain compatibility
with JCL while still adhering to the org.slf4j.Logger interface.


Ceki Gülcü

   The complete log4j manual:

View raw message