You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2014/06/26 05:18:51 UTC

svn commit: r1605655 - /logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java

Author: ggregory
Date: Thu Jun 26 03:18:51 2014
New Revision: 1605655

URL: http://svn.apache.org/r1605655
Log:
Logging that an available port does not need to be at the INFO level, using DEBUG and wishing for a VERBOSE.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java?rev=1605655&r1=1605654&r2=1605655&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/test/AvailablePortFinder.java Thu Jun 26 03:18:51 2014
@@ -114,7 +114,7 @@ public final class AvailablePortFinder {
 
         for (int i = fromPort; i <= MAX_PORT_NUMBER; i++) {
             if (available(i)) {
-                LOG.info("getNextAvailable({}) -> {}", fromPort, i);
+                LOG.debug("getNextAvailable({}) -> {}", fromPort, i);
                 return i;
             }
         }