[slf4j-dev] [GIT] SLF4J: Simple Logging Facade for Java branch master updated. v_1.7.0-11-g86e0c29
Gitbot
git-noreply at pixie.qos.ch
Fri Sep 14 23:01:03 CEST 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SLF4J: Simple Logging Facade for Java".
The branch, master has been updated
via 86e0c2990d8feec0451eb2ab2d0767776114b94a (commit)
from 85083caf997a36aac972dc6549ae7572cc1979b3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.qos.ch/gitweb/?p=slf4j.git;a=commit;h=86e0c2990d8feec0451eb2ab2d0767776114b94a
http://github.com/ceki/slf4j/commit/86e0c2990d8feec0451eb2ab2d0767776114b94a
commit 86e0c2990d8feec0451eb2ab2d0767776114b94a
Author: Ceki Gulcu <ceki at qos.ch>
Date: Fri Sep 14 23:00:20 2012 +0200
preparing release 1.7.1
diff --git a/integration/pom.xml b/integration/pom.xml
index 7c48eb7..539448d 100644
--- a/integration/pom.xml
+++ b/integration/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/jcl-over-slf4j/pom.xml b/jcl-over-slf4j/pom.xml
index 7dd612e..a277e1b 100644
--- a/jcl-over-slf4j/pom.xml
+++ b/jcl-over-slf4j/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/jul-to-slf4j/pom.xml b/jul-to-slf4j/pom.xml
index f47c6fc..86ee84e 100644
--- a/jul-to-slf4j/pom.xml
+++ b/jul-to-slf4j/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/log4j-over-slf4j/pom.xml b/log4j-over-slf4j/pom.xml
index d535586..0b379d2 100644
--- a/log4j-over-slf4j/pom.xml
+++ b/log4j-over-slf4j/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/osgi-over-slf4j/pom.xml b/osgi-over-slf4j/pom.xml
index 2b05d76..53a7cfb 100644
--- a/osgi-over-slf4j/pom.xml
+++ b/osgi-over-slf4j/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/pom.xml b/pom.xml
index 904e390..1e800c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
<packaging>pom</packaging>
<name>SLF4J</name>
diff --git a/slf4j-api/pom.xml b/slf4j-api/pom.xml
index 5e47e85..e3e77d6 100644
--- a/slf4j-api/pom.xml
+++ b/slf4j-api/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-ext/pom.xml b/slf4j-ext/pom.xml
index b1535fd..77bda10 100644
--- a/slf4j-ext/pom.xml
+++ b/slf4j-ext/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-jcl/pom.xml b/slf4j-jcl/pom.xml
index c672d8b..a312a40 100644
--- a/slf4j-jcl/pom.xml
+++ b/slf4j-jcl/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-jdk14/pom.xml b/slf4j-jdk14/pom.xml
index 0c42a8f..620530f 100644
--- a/slf4j-jdk14/pom.xml
+++ b/slf4j-jdk14/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-log4j12/pom.xml b/slf4j-log4j12/pom.xml
index 641c05d..0179d4f 100644
--- a/slf4j-log4j12/pom.xml
+++ b/slf4j-log4j12/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-migrator/pom.xml b/slf4j-migrator/pom.xml
index 229422f..c9fd64c 100644
--- a/slf4j-migrator/pom.xml
+++ b/slf4j-migrator/pom.xml
@@ -7,7 +7,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-nop/pom.xml b/slf4j-nop/pom.xml
index 22e0d3d..d67429c 100644
--- a/slf4j-nop/pom.xml
+++ b/slf4j-nop/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-simple/pom.xml b/slf4j-simple/pom.xml
index dc03515..1f8efbe 100644
--- a/slf4j-simple/pom.xml
+++ b/slf4j-simple/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java b/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java
index b77b75d..f38feed 100644
--- a/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java
+++ b/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java
@@ -54,9 +54,11 @@ import org.slf4j.spi.LocationAwareLogger;
* <li><code>org.slf4j.simpleLogger.defaultLogLevel</code> - Default log level for all instances of SimpleLogger.
* Must be one of ("trace", "debug", "info", "warn", or "error"). If not specified, defaults to "info". </li>
*
- * <li><code>org.slf4j.simpleLogger.log.xxxxx</code> - Logging detail level for a SimpleLogger instance named "xxxxx".
- * Must be one of ("trace", "debug", "info", "warn", or "error"). If not specified, the level the nearest parent logger
- * will be used, and if none is set, then the default level will be used.</li>
+ * <li><code>org.slf4j.simpleLogger.log.<em>a.b.c</em></code> - Logging detail level for a SimpleLogger instance
+ * named "a.b.c". Right-side value must be one of "trace", "debug", "info", "warn", or "error". When a SimpleLogger
+ * named "a.b.c" is initialized, its level is assigned from this property. If unspecified, the level of nearest parent
+ * logger will be used, and if none is set, then the value specified by
+ * <code>org.slf4j.simpleLogger.defaultLogLevel</code> will be used.</li>
*
* <li><code>org.slf4j.simpleLogger.showDateTime</code> - Set to <code>true</code> if you want the current date and
* time to be included in output messages. Default is <code>true</code></li>
diff --git a/slf4j-simple/src/test/java/org/slf4j/impl/SimpleLoggerTest.java b/slf4j-simple/src/test/java/org/slf4j/impl/SimpleLoggerTest.java
index d762c13..1ac777d 100644
--- a/slf4j-simple/src/test/java/org/slf4j/impl/SimpleLoggerTest.java
+++ b/slf4j-simple/src/test/java/org/slf4j/impl/SimpleLoggerTest.java
@@ -30,6 +30,7 @@ import org.junit.Test;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNull;
+import static junit.framework.Assert.fail;
public class SimpleLoggerTest {
@@ -44,6 +45,12 @@ public class SimpleLoggerTest {
}
@Test
+ public void emptyLoggerName() {
+ SimpleLogger simpleLogger = new SimpleLogger("a");
+ assertEquals("info", simpleLogger.recursivelyComputeLevelString());
+ }
+
+ @Test
public void loggerNameWithNoDots_WithLevel() {
SimpleLogger simpleLogger = new SimpleLogger("a");
assertEquals("info", simpleLogger.recursivelyComputeLevelString());
diff --git a/slf4j-site/pom.xml b/slf4j-site/pom.xml
index 72500b4..4a0012d 100644
--- a/slf4j-site/pom.xml
+++ b/slf4j-site/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-parent</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/slf4j-site/src/site/pages/news.html b/slf4j-site/src/site/pages/news.html
index e852247..351d532 100644
--- a/slf4j-site/src/site/pages/news.html
+++ b/slf4j-site/src/site/pages/news.html
@@ -34,16 +34,18 @@
<p><a
href="apidocs/org/slf4j/impl/SimpleLogger.html"><code>SimpleLogger</code></a>
now supports writing to a file. The property names for configuring
- <code>SimpleLogger</code> have been modified to be consistently all
- in camel case. More configuration options have been added. In the
+ <code>SimpleLogger</code> have been modified to be consistently in
+ camel case. More configuration options have been added. In the
absence of configuration directives, <code>SimpleLogger</code> will
- behave same as in the past.</p>
+ behave same as in the past. If you are configuring
+ <code>SimpleLogger</code> with configuration properties, you will
+ need to adapt to the new and more consistent property names.</p>
<hr noshade="noshade" size="1"/>
<h3>6th of September, 2012 - Release of SLF4J 1.7.0</h3>
- <p><span class="bold">SLF4J now requires JDK 1.5.</span></p>
+ <p><span class="bold big green">SLF4J now requires JDK 1.5.</span></p>
<p>Printing methods in the <a
href="apidocs/org/slf4j/Logger.html">Logger</a> interface now offers
-----------------------------------------------------------------------
Summary of changes:
integration/pom.xml | 2 +-
jcl-over-slf4j/pom.xml | 2 +-
jul-to-slf4j/pom.xml | 2 +-
log4j-over-slf4j/pom.xml | 2 +-
osgi-over-slf4j/pom.xml | 2 +-
pom.xml | 2 +-
slf4j-api/pom.xml | 2 +-
slf4j-ext/pom.xml | 2 +-
slf4j-jcl/pom.xml | 2 +-
slf4j-jdk14/pom.xml | 2 +-
slf4j-log4j12/pom.xml | 2 +-
slf4j-migrator/pom.xml | 2 +-
slf4j-nop/pom.xml | 2 +-
slf4j-simple/pom.xml | 2 +-
.../src/main/java/org/slf4j/impl/SimpleLogger.java | 8 +++++---
.../test/java/org/slf4j/impl/SimpleLoggerTest.java | 7 +++++++
slf4j-site/pom.xml | 2 +-
slf4j-site/src/site/pages/news.html | 10 ++++++----
18 files changed, 33 insertions(+), 22 deletions(-)
hooks/post-receive
--
SLF4J: Simple Logging Facade for Java
More information about the slf4j-dev
mailing list