Apache Directory Project - Re: FATAL in SLF4J, was: [VOTE] Logging Direction

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > July 2005 > Re: FATAL in SLF4J, was: [VOTE] Logging Direction





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: FATAL in SLF4J, was: [VOTE] Logging Direction
Ceki Gülcü

2005-07-05, 7:45 am

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.

>Nick


--=20
Ceki G=FClc=FC

The complete log4j manual: http://www.qos.ch/log4j/



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com