You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by hs...@apache.org on 2012/09/04 20:20:55 UTC
git commit: FLUME-1526. File Channel LogFile log message should be
info, not warn.
Updated Branches:
refs/heads/trunk 01a81121b -> 873b032fa
FLUME-1526. File Channel LogFile log message should be info, not warn.
(Ted Malaska via Hari Shreedharan)
Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/873b032f
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/873b032f
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/873b032f
Branch: refs/heads/trunk
Commit: 873b032faa5d154bbc2869be16fe550ca1211c69
Parents: 01a8112
Author: Hari Shreedharan <hs...@apache.org>
Authored: Tue Sep 4 11:18:27 2012 -0700
Committer: Hari Shreedharan <hs...@apache.org>
Committed: Tue Sep 4 11:18:27 2012 -0700
----------------------------------------------------------------------
.../org/apache/flume/channel/file/LogFile.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flume/blob/873b032f/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFile.java
----------------------------------------------------------------------
diff --git a/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFile.java b/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFile.java
index 561a501..2867fc7 100644
--- a/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFile.java
+++ b/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/LogFile.java
@@ -371,7 +371,7 @@ class LogFile {
try {
long position = fileChannel.position();
if (position > FileChannelConfiguration.DEFAULT_MAX_FILE_SIZE) {
- LOG.warn("File position exceeds the threshold: "
+ LOG.info("File position exceeds the threshold: "
+ FileChannelConfiguration.DEFAULT_MAX_FILE_SIZE
+ ", position: " + position);
}