From 3057ec105dd541076ee6fe67c0e6175554706b3a Mon Sep 17 00:00:00 2001 From: Ceki Gulcu Date: Fri, 1 Aug 2008 16:13:26 +0000 Subject: [PATCH] - minor changes --- .../org/slf4j/spi/LocationAwareLogger.java | 2 +- slf4j-site/src/site/pages/index.html | 3 +- slf4j-site/src/site/pages/news.html | 31 ++++++++++++++++++- 3 files changed, 32 insertions(+), 4 deletions(-) diff --git a/slf4j-api/src/main/java/org/slf4j/spi/LocationAwareLogger.java b/slf4j-api/src/main/java/org/slf4j/spi/LocationAwareLogger.java index 58e13e2b..ae52f852 100644 --- a/slf4j-api/src/main/java/org/slf4j/spi/LocationAwareLogger.java +++ b/slf4j-api/src/main/java/org/slf4j/spi/LocationAwareLogger.java @@ -31,7 +31,7 @@ import org.slf4j.Marker; * An optional interface helping integration with logging systems capable of * extracting location information. This interface is mainly used by SLF4J bridges * such as jcl104-over-slf4j which need to provide hints so that the underlying logging - * system can extract the correct locatin information (method name, line number, etc.). + * system can extract the correct location information (method name, line number, etc.). * * * @author Ceki Gulcu diff --git a/slf4j-site/src/site/pages/index.html b/slf4j-site/src/site/pages/index.html index e7e12f9c..b4043293 100644 --- a/slf4j-site/src/site/pages/index.html +++ b/slf4j-site/src/site/pages/index.html @@ -148,12 +148,11 @@ prefix='';
  • QuickFIX/J
  • SMSJ
  • Spring-OSGi
  • +
  • StreamBase
  • TimeFinder
  • WTFIGO
  • YASL
  • Xooctory
  • - - diff --git a/slf4j-site/src/site/pages/news.html b/slf4j-site/src/site/pages/news.html index 88304f9b..aa4ea824 100644 --- a/slf4j-site/src/site/pages/news.html +++ b/slf4j-site/src/site/pages/news.html @@ -36,7 +36,36 @@ prefix=''; href="extensions.html">its documentation for further details.

    - +

    Fixed bug + 71 which was re-opened by Manfred Geiler. SLF4J loggers now + survive serialization. By survive serialization, we mean + that the deserialized logger instance are fully functional.

    + +

    The fix for bug 68 as + implemented in version 1.5.1 was incomplete. Michael Furman supplied + a more complete fix that was incorporated in this release.

    + +

    When slf4j bridges, e.g. jcl-over-slf4j or log4j-over-slf4j, were + used in conjuction with JUL as the underlying logging system, + JDK14LoggerAdapter created a LogRecord even for disabled log + statements. This performance issue was reported in bug 90 by + Matthew Mastracci. +

    + + +

    Added support for array values in parameters. For example,

    +

    log.debug("a:{},i:{}", "A", new int[] {1, 2}});

    +

    will print as "a:A,i:[1, 2]" instead of "a:A,i:[I@6ca1c" as + previously. This enhancement was proposed by "lizongbo" +

    + +

    Added missing getInstance methods to the + Category class in the log4j-over-slf4j module, fixing + bug 95 + reported by Michael Rumpf.

    +

    June 8th, 2008 - Release of SLF4J 1.5.2