[slf4j-dev] [GIT] SLF4J: Simple Logging Facade for Java branch, master, updated. v_1.6.1-28-gfe7ac5d

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Mon Apr 18 10:34:21 CEST 2011


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  fe7ac5d560f8ff4577e0627505e347de793b03e8 (commit)
      from  7f1a559ad58da9a5b3da0d8866e8d1f67ad114be (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=fe7ac5d560f8ff4577e0627505e347de793b03e8
http://github.com/ceki/slf4j/commit/fe7ac5d560f8ff4577e0627505e347de793b03e8

commit fe7ac5d560f8ff4577e0627505e347de793b03e8
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Mon Apr 18 10:30:24 2011 +0200

    rewording

diff --git a/slf4j-site/src/site/pages/codes.html b/slf4j-site/src/site/pages/codes.html
index 777a7ba..3dd90a0 100644
--- a/slf4j-site/src/site/pages/codes.html
+++ b/slf4j-site/src/site/pages/codes.html
@@ -165,8 +165,45 @@
     on the class path.
     </p>
 
-
     <!-- ====================================================== -->
+    <h3><a name="version_mismatch" href="#version_mismatch">slf4j-api
+    version does not match that of the binding</a></h3>
+
+    <p>An slf4j binding designates an artifact such as
+    <em>slf4j-jdk14.jar</em> or <em>slf4j-log4j12.jar</em> used to
+    <em>bind</em> slf4j to an underlying logging framework, say,
+    java.util.logging or log4j.
+    </p>
+
+    <p>Mixing mixing different versions of slf4j-api and slf4j
+    bindings can cause problems. For example, if you are using
+    slf4j-api-${project.version}.jar, then you should also use
+    slf4j-simple-${project.version}.jar, using slf4j-simple-1.5.5.jar
+    will not work.
+    </p>
+
+    <p><b>Note that from the client's perspective all versions of
+    slf4j-api are compatible.</b> Customer code compiled with a given
+    version of <em>slf4j-api.jar</em> will run perfectly fine with any
+    other version of <em>slf4j-api.jar</em>. You only need to verify
+    that the version of your binding matches that of the slf4j-api.
+    </p>
+
+    <p><span class="red">In general, you should make sure that the
+    slf4j-api version matches that of the slf4j binding. However, you
+    do <b>not</b> have to worry about the version of slf4j-api
+    customer code was compiled against.</span> See also the <a
+    href="faq.html#compatibility">relevant FAQ entry</a>.
+    </p>
+
+    <p>At initialization time, if SLF4J suspects that there may be a
+    version mismatch problem, it will emit a warning about the
+    suspected mismatch. For the exact details of the version mismatch
+    detection mechanism, please refer to the <a
+    href="faq.html#version_checks">relevant entry</a> in the FAQ.
+    </p>
+
+
     <h3>
       <a name="null_LF" href="#null_LF">Logging factory implementation
       cannot be null</a>
@@ -320,28 +357,6 @@
     DEBUG.</p>
     
 
-
-    <h3><a name="version_mismatch" href="#version_mismatch">slf4j-api
-    version does not match that of the binding</a></h3>
-
-    <p>Mixing mixing different versions of slf4j artifacts can cause
-    problems. For example, if you are using
-    slf4j-api-${project.version}.jar, then you should also use
-    slf4j-simple-${project.version}.jar, using slf4j-simple-1.5.5.jar
-    will not work.
-    </p>
-
-    <p class="red">In general, you should make sure that the
-    slf4j-api version matches that of the slf4j binding.
-    </p>
-
-    <p>At initialization time, if SLF4J suspects that there may be a
-    version mismatch problem, it will emit a warning about the
-    suspected mismatch. For the exact details of the version mismatch
-    detection mechanism, please refer to the <a
-    href="faq.html#version_checks">relevant entry</a> in the FAQ.
-    </p>
-
     <h3><a name="substituteLogger" href="#substituteLogger">Substitute
     loggers were created during the default configuration phase of the
     underlying logging system</a></h3>

-----------------------------------------------------------------------

Summary of changes:
 slf4j-site/src/site/pages/codes.html |   61 +++++++++++++++++++++-------------
 1 files changed, 38 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
SLF4J: Simple Logging Facade for Java


More information about the slf4j-dev mailing list