You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by mw...@apache.org on 2006/04/07 06:25:07 UTC
svn commit: r392178 -
/logging/log4j/trunk/src/java/org/apache/log4j/watchdog/WatchdogSkeleton.java
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