You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2013/08/02 11:02:52 UTC
svn commit: r1509583 - /maven/site/trunk/content/markdown/maven-logging.md
Author: hboutemy
Date: Fri Aug 2 09:02:51 2013
New Revision: 1509583
URL: http://svn.apache.org/r1509583
Log:
added link to SLF4J documentation for binding switch
Modified:
maven/site/trunk/content/markdown/maven-logging.md
Modified: maven/site/trunk/content/markdown/maven-logging.md
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/maven-logging.md?rev=1509583&r1=1509582&r2=1509583&view=diff
==============================================================================
--- maven/site/trunk/content/markdown/maven-logging.md (original)
+++ maven/site/trunk/content/markdown/maven-logging.md Fri Aug 2 09:02:51 2013
@@ -21,14 +21,12 @@ under the License.
Maven 2.x and 3.0.x use [Plexus logging API][6] with basic Maven implementation writing
to stdout.
-We have reached the decision that [SLF4J][1] is the best option for a logging API.
+We have reached the decision that [SLF4J][1] is the best option for a logging API:
SLF4J has reached a certain level of ubiquity and while SLF4J may not be perfect,
it\'s the de facto standard and it\'s pointless to try and remake another one.
-SLF4J is used by many prominent Java OSS projects including 15 Apache projects already.
-
There are many implementations to choose from, including [Logback][4] and [Log4j2][3].
All the hard work has been done. All the bridges and funnels for other systems function well,
-which allows others to use whatever logging implementation they like in their components
+which allows others to use whatever logging implementation they like in their components,
while still being able to have integrated logging.
The standard Maven distribution, from Maven 3.1.0 onward, uses the [SLF4J API][5] for logging
@@ -133,7 +131,9 @@ org.slf4j.simpleLogger.warnLevelString=W
## Changing the SLF4J implementation
If you want use a different logging implementation it is simply a matter of removing the slf4j-simple JAR
-from the `lib` directory and replacing it with one of the alternative implementations, like [Log4j2][3] or [Logback][4].
+from the `lib` directory and replacing it with one of the alternative implementations, like [Log4j2][3] or [Logback][4].
+
+See SLF4J documentation for more details on [swapping "SLF4J bindings"][7].
[1]: http://slf4j.org
[2]: http://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html
@@ -141,3 +141,4 @@ from the `lib` directory and replacing i
[4]: http://logback.qos.ch
[5]: http://slf4j.org/apidocs/
[6]: http://plexus.codehaus.org/plexus-containers/plexus-container-default/apidocs/org/codehaus/plexus/logging/package-summary.html
+[7]: http://www.slf4j.org/manual.html#swapping