flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject git commit: FLUME-1866: ChannelProcessor is not logging ChannelExceptions
Date Thu, 04 Apr 2013 22:01:20 GMT
Updated Branches:
  refs/heads/trunk 35356530f -> df7a197a5


FLUME-1866: ChannelProcessor is not logging ChannelExceptions

(Roshan Naik via Brock Noland)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/df7a197a
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/df7a197a
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/df7a197a

Branch: refs/heads/trunk
Commit: df7a197a51bdb326149255fdad4db01ca886ba57
Parents: 3535653
Author: Brock Noland <brock@apache.org>
Authored: Thu Apr 4 17:00:48 2013 -0500
Committer: Brock Noland <brock@apache.org>
Committed: Thu Apr 4 17:00:48 2013 -0500

----------------------------------------------------------------------
 .../flume/source/SequenceGeneratorSource.java      |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/df7a197a/flume-ng-core/src/main/java/org/apache/flume/source/SequenceGeneratorSource.java
----------------------------------------------------------------------
diff --git a/flume-ng-core/src/main/java/org/apache/flume/source/SequenceGeneratorSource.java
b/flume-ng-core/src/main/java/org/apache/flume/source/SequenceGeneratorSource.java
index 3cb1ccf..0f85e87 100644
--- a/flume-ng-core/src/main/java/org/apache/flume/source/SequenceGeneratorSource.java
+++ b/flume-ng-core/src/main/java/org/apache/flume/source/SequenceGeneratorSource.java
@@ -96,6 +96,7 @@ public class SequenceGeneratorSource extends AbstractSource implements
     } catch (ChannelException ex) {
       counterGroup.incrementAndGet("events.failed");
       eventsSent -= i;
+      logger.error( getName() + " source could not write to channel.", ex);
     }
 
     return status;


Mime
View raw message