You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by sv...@apache.org on 2020/05/31 15:40:43 UTC

svn commit: r1878331 - in /maven/website/content: maven-logging.html maven-site-1.0-site.jar

Author: svn-site-role
Date: Sun May 31 15:40:43 2020
New Revision: 1878331

Log:
Site checkin for project Apache Maven Site

Modified:
    maven/website/content/maven-logging.html
    maven/website/content/maven-site-1.0-site.jar

Modified: maven/website/content/maven-logging.html
==============================================================================
--- maven/website/content/maven-logging.html (original)
+++ maven/website/content/maven-logging.html Sun May 31 15:40:43 2020
@@ -142,7 +142,7 @@ Maven uses [Plexus logging API][6] with
 to stdout.
 
 <p>We have reached the decision that <a class="externalLink" href="http://slf4j.org">SLF4J</a> 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. There are many implementations to choose from, including <a class="externalLink" href="http://logback.qos.ch">Logback</a> and <a class="externalLink" href="https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/">Log4j2</a>. 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, while still being able to have integrated logging.</p>
-<p>The standard Maven distribution, from Maven 3.1.0 onward, uses the <a class="externalLink" href="http://slf4j.org/apidocs/">SLF4J API</a> for logging combined with the <a class="externalLink" href="http://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html">SLF4J Simple</a> implementation. Future versions may use a more advanced implementation, but we chose to start simple.</p>
+<p>The standard Maven distribution, from Maven 3.1.0 onward, uses the <a class="externalLink" href="https://slf4j.org/apidocs/">SLF4J API</a> for logging combined with the <a class="externalLink" href="https://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html">SLF4J Simple</a> implementation. Future versions may use a more advanced implementation, but we chose to start simple.</p>
 <p>Looking at the distribution you will see the following layout where the <code>simplelogger.properties</code>, <code>slf4j-api-x.y.z-jar</code> and <code>slf4j-simple-x.y.z.jar</code> specifically relate to the SLF4J implementation:</p>
 
 <div class="source">
@@ -167,12 +167,12 @@ apache-maven-3.x.y
 </pre></div></div>
 <section>
 <h2><a name="Configuring_logging"></a>Configuring logging</h2>
-<p>To configure logging with the <a class="externalLink" href="http://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html">SLF4J Simple</a>, you can edit the properties in the <code>${maven.home}/conf/logging/simplelogger.properties</code> file. Please see the linked reference documentation for details.</p>
+<p>To configure logging with the <a class="externalLink" href="https://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html">SLF4J Simple</a>, you can edit the properties in the <code>${maven.home}/conf/logging/simplelogger.properties</code> file. Please see the linked reference documentation for details.</p>
 <p>Every entry in this file can be overriden via Maven&#x2019;s JVM system properties by using the <code>-D</code> flag in <a class="externalLink" href="https://maven.apache.org/configure.html">MAVEN_OPTS</a>. E.g. <code>MAVEN_OPTS=-Dorg.slf4j.simpleLogger.showThreadName=true mvn &lt;goals&gt;</code> will add the thread name to every logging line.</p>
 <p>The default SLF4J configuration for Maven is listed <a class="externalLink" href="https://github.com/apache/maven/blob/master/apache-maven/src/conf/logging/simplelogger.properties">here</a>.</p></section><section>
 <h2><a name="Changing_the_SLF4J_implementation"></a>Changing the SLF4J implementation</h2>
 <p>If you want use a different logging implementation it is simply a matter of removing the slf4j-simple JAR from the <code>lib</code> directory and replacing it with one of the alternative implementations, like <a class="externalLink" href="https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/">Log4j2</a> or <a class="externalLink" href="http://logback.qos.ch">Logback</a>.</p>
-<p>See SLF4J documentation for more details on <a class="externalLink" href="http://www.slf4j.org/manual.html#swapping">swapping &#x201c;SLF4J bindings&#x201d;</a>.</p></section>
+<p>See SLF4J documentation for more details on <a class="externalLink" href="https://www.slf4j.org/manual.html#swapping">swapping &#x201c;SLF4J bindings&#x201d;</a>.</p></section>
         </main>
       </div>
     </div>

Modified: maven/website/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.