[prev in list] [next in list] [prev in thread] [next in thread]
List: flume-commits
Subject: svn commit: r1187968 - /incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/fl
From: esammer () apache ! org
Date: 2011-10-23 20:26:22
Message-ID: 20111023202622.42A96238897A () eris ! apache ! org
[Download RAW message or body]
Author: esammer
Date: Sun Oct 23 20:26:21 2011
New Revision: 1187968
URL: http://svn.apache.org/viewvc?rev=1187968&view=rev
Log:
FLUME-818: PropertiesFileConfigurationProvider doesn't properly log exceptions
Modified:
incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/conf/properties/PropertiesFileConfigurationProvider.java
Modified: incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/conf/properties/PropertiesFileConfigurationProvider.java
URL: http://svn.apache.org/viewvc/incubator/flume/branches/flume-728/flume-ng-node/src \
/main/java/org/apache/flume/conf/properties/PropertiesFileConfigurationProvider.java?rev=1187968&r1=1187967&r2=1187968&view=diff
==============================================================================
--- incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/conf/properties/PropertiesFileConfigurationProvider.java \
(original)
+++ incubator/flume/branches/flume-728/flume-ng-node/src/main/java/org/apache/flume/conf/properties/PropertiesFileConfigurationProvider.java \
Sun Oct 23 20:26:21 2011 @@ -190,9 +190,11 @@ public class \
PropertiesFileConfiguration
LOGGER.warn("No configuration found for this host:{}", getNodeName());
}
} catch (IOException ex) {
- LOGGER.error("Unable to load file: " + propertiesFile, ex);
+ LOGGER.error("Unable to load file:" + propertiesFile
+ + " (I/O failure) - Exception follows.", ex);
} catch (InstantiationException ex) {
- LOGGER.error("Unable to load file:{}", propertiesFile, ex);
+ LOGGER.error("Unable to load file:" + propertiesFile
+ + " (failed to instantiate component) - Exception follows.", ex);
} finally {
if (reader != null) {
try {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic