logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwom...@apache.org
Subject svn commit: r392178 - /logging/log4j/trunk/src/java/org/apache/log4j/watchdog/WatchdogSkeleton.java
Date Fri, 07 Apr 2006 04:25:07 GMT
Author: mwomack
Date: Thu Apr  6 21:25:01 2006
New Revision: 392178

URL: http://svn.apache.org/viewcvs?rev=392178&view=rev
Log:
Fixing bad placement of debug message

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/watchdog/WatchdogSkeleton.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/watchdog/WatchdogSkeleton.java
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/src/java/org/apache/log4j/watchdog/WatchdogSkeleton.java?rev=392178&r1=392177&r2=392178&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/watchdog/WatchdogSkeleton.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/watchdog/WatchdogSkeleton.java Thu Apr 
6 21:25:01 2006
@@ -129,8 +129,8 @@
       if (configurator instanceof ConfiguratorBase) {
         ConfiguratorBase baseConfigurator = (ConfiguratorBase)configurator;
         List errorList = baseConfigurator.getErrorList();
-        getLogger().error("errors reported during reconfiguration: ");
         if (errorList.size() != 0) {
+          getLogger().error("errors reported during reconfiguration: ");
           for (int x = 0; x < errorList.size(); x++) {
             getLogger().debug("error " + x + ": " + errorList.get(x));
           }



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message