[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flume-commits
Subject:    flume git commit: FLUME-3135. Remove the references to StaticInterceptor from RegexFilteringIntercep
From:       denes () apache ! org
Date:       2017-07-26 7:51:59
Message-ID: e9508551e4a14ecc9ff7c59f49403016 () git ! apache ! org
[Download RAW message or body]

Repository: flume
Updated Branches:
  refs/heads/trunk 1e69fc7c2 -> 685b79a87


FLUME-3135. Remove the references to StaticInterceptor from RegexFilteringInterceptor

- Use RegexFilteringInterceptor.class in LoggerFactory.getLogger() call
- Fix the Javadoc of the RegexFilteringInterceptor.Builder class

This closes #148

Reviewers: Attila Simon, Marcell Hegedus

(Peter Chen via Denes Arvay)


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

Branch: refs/heads/trunk
Commit: 685b79a8718ea983b451ce88555248510efe84ea
Parents: 1e69fc7
Author: Peter Chen <pi.chen@shunwang.com>
Authored: Mon Jul 24 14:50:49 2017 +0800
Committer: Denes Arvay <denes@apache.org>
Committed: Wed Jul 26 09:41:43 2017 +0200

----------------------------------------------------------------------
 .../org/apache/flume/interceptor/RegexFilteringInterceptor.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/685b79a8/flume-ng-core/src/main/java/org/apache/flume/interceptor/RegexFilteringInterceptor.java
                
----------------------------------------------------------------------
diff --git a/flume-ng-core/src/main/java/org/apache/flume/interceptor/RegexFilteringInterceptor.java \
b/flume-ng-core/src/main/java/org/apache/flume/interceptor/RegexFilteringInterceptor.java
 index d8327d4..4d9d05e 100644
--- a/flume-ng-core/src/main/java/org/apache/flume/interceptor/RegexFilteringInterceptor.java
                
+++ b/flume-ng-core/src/main/java/org/apache/flume/interceptor/RegexFilteringInterceptor.java
 @@ -72,7 +72,7 @@ import com.google.common.collect.Lists;
 public class RegexFilteringInterceptor implements Interceptor {
 
   private static final Logger logger = LoggerFactory
-      .getLogger(StaticInterceptor.class);
+      .getLogger(RegexFilteringInterceptor.class);
 
   private final Pattern regex;
   private final boolean excludeEvents;
@@ -139,7 +139,7 @@ public class RegexFilteringInterceptor implements Interceptor {
   }
 
   /**
-   * Builder which builds new instance of the StaticInterceptor.
+   * Builder which builds new instance of the RegexFilteringInterceptor.
    */
   public static class Builder implements Interceptor.Builder {
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic