Release of SLF4J 1.5.1

View: New views
4 Messages — Rating Filter:   Alert me  

Release of SLF4J 1.5.1

by Ceki Gulcu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I am happy to announce the immediate availability of SLF4J version
1.5.1.

In order to support JCL version 1.1.1, the jcl104-over-slf4j module
was renamed as jcl-over-slf4j. SLF4J will no longer ship with
jcl104-over-slf4j.jar but with jcl-over-slf4j.jar. The related work
responds to enhancement request discussed in bug 85 as reported by
Niklas Gustavsson.

The slf4j-jcl binding now depends on commons-logging version 1.1.1
instead of the older 1.0.4

Added a java.util.logging to SLF4J bridge as requested in bug 38 by
Christian Stein, David Smiley, Johan Ferner, Joern Huxhorn and others.

Fixed bug 68 reported by Su Chuan and David Rauschenbach. SLF4J
requires log4j 1.2.12 or later. However, if an older version of log4j
is present (lacking the TRACE level), in order to avoid
NoSuchMethodError exceptions, the SLF4J's Log4jLoggerAdapter will map
the TRACE level as DEBUG.

Fixed bug 78 reported by Venu Thachappilly. If the argument array
passed to a Logger printing method (debug, info, etc.) was null, a
NullPointerException was thrown. With the correction, the
messagePattern is returned as is, without parameter substitution.

Added the getCopyOfContextMap and setContextMap methods to the
MDCAdapter and org.sf4j.MDC classes. This was requested in bug 84 by
Anton Tagunov.

Fixed bug 74, an endless recursion problem in Marker.contains method,
reported by Michael Newcomb. Also added he getDetachedMarker method to
IMarkerFactor and MarkerFactory classes which was indirectly requested
in bug 74.

Added the methods getLevel() and getEffectiveLevel() to the Category
class in log4j-over-slf4j. This addition was requested in bug 74 by
Michael Newcomb.

The SLF4J Migrator tool has been improved to support migration from
JUL to SLF4J.

In MarkerIgnoringBase class, corrected mapping of trace methods with
markers to their equivalents without marker data. Previously, the
mapping was trace to debug. The incorrect mapping affected only calls
to the trace method with markers. Interestingly enough, this bug was
picked up by new unit tests and has not been reported as a bug by our
users.


See also the compatibility report for this version available at

   http://slf4j.org/compatibility.html#1_5_1


You can download SLF4J, including full source code, class files and
documentation on our download page, shown below.

            http://www.slf4j.org/download.html

You can receive SLF4J related announcements by subscribing to the
SLF4J announce mailing list. To subscribe to SLF4J-announce list,
please visit the following URL.

            http://www.slf4j.org/mailman/listinfo/announce

Enjoy,

_______________________________________________
user mailing list
user@...
http://www.slf4j.org/mailman/listinfo/user

Re: Release of SLF4J 1.5.1

by Holger Hoffstätte-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 05 Jun 2008 23:53:47 +0200, Ceki Gulcu wrote:

> In order to support JCL version 1.1.1, the jcl104-over-slf4j module was
> renamed as jcl-over-slf4j. SLF4J will no longer ship with
> jcl104-over-slf4j.jar but with jcl-over-slf4j.jar. The related work

It seems that the new jcl-over-slf4j.jar is missing from the distribution?
The jcl104-jar contains the redirect as it should, but the target is
missing.

Holger


_______________________________________________
user mailing list
user@...
http://www.slf4j.org/mailman/listinfo/user

Re: Release of SLF4J 1.5.1

by Holger Hoffstätte-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 06 Jun 2008 03:31:09 +0200, Holger Hoffstaette wrote:

> On Thu, 05 Jun 2008 23:53:47 +0200, Ceki Gulcu wrote:
>
>> In order to support JCL version 1.1.1, the jcl104-over-slf4j module was
>> renamed as jcl-over-slf4j. SLF4J will no longer ship with
>> jcl104-over-slf4j.jar but with jcl-over-slf4j.jar. The related work
>
> It seems that the new jcl-over-slf4j.jar is missing from the distribution?
> The jcl104-jar contains the redirect as it should, but the target is
> missing.

FYI Checking out from svn and installling/building the distribution does the
right thing (incl. the jcl-jar), so it seems you just need to replace the
distribution archives. :)

Thanks, especially for the inclusion of the JUL bridge!

Holger


_______________________________________________
user mailing list
user@...
http://www.slf4j.org/mailman/listinfo/user

Re: Release of SLF4J 1.5.1

by Ceki Gulcu-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Holger,

Thank you for checking that this bug was fixed in the latest SVN commits.
I'll shortly make a new release, namely 1.5.2, fixing this bug.

Holger Hoffstaette wrote:

> On Fri, 06 Jun 2008 03:31:09 +0200, Holger Hoffstaette wrote:
>
>> On Thu, 05 Jun 2008 23:53:47 +0200, Ceki Gulcu wrote:
>>
>>> In order to support JCL version 1.1.1, the jcl104-over-slf4j module was
>>> renamed as jcl-over-slf4j. SLF4J will no longer ship with
>>> jcl104-over-slf4j.jar but with jcl-over-slf4j.jar. The related work
>> It seems that the new jcl-over-slf4j.jar is missing from the distribution?
>> The jcl104-jar contains the redirect as it should, but the target is
>> missing.
>
> FYI Checking out from svn and installling/building the distribution does the
> right thing (incl. the jcl-jar), so it seems you just need to replace the
> distribution archives. :)
>
> Thanks, especially for the inclusion of the JUL bridge!
>
> Holger

_______________________________________________
user mailing list
user@...
http://www.slf4j.org/mailman/listinfo/user
LightInTheBox - Buy quality products at wholesale price