metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ceste...@apache.org
Subject incubator-metron git commit: METRON-371: Changing logging level to INFO when there's not a config. closes apache/incubator-metron#295
Date Tue, 11 Oct 2016 14:50:35 GMT
Repository: incubator-metron
Updated Branches:
  refs/heads/master 9ac36dec9 -> b38e017f8


METRON-371: Changing logging level to INFO when there's not a config. closes apache/incubator-metron#295


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

Branch: refs/heads/master
Commit: b38e017f8978b8d8b2fa58d76ba4c8bb54026951
Parents: 9ac36de
Author: cstella <cestella@gmail.com>
Authored: Tue Oct 11 10:50:25 2016 -0400
Committer: cstella <cestella@gmail.com>
Committed: Tue Oct 11 10:50:25 2016 -0400

----------------------------------------------------------------------
 .../org/apache/metron/enrichment/bolt/EnrichmentJoinBolt.java    | 4 ++--
 .../apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java    | 4 ++--
 .../org/apache/metron/enrichment/bolt/ThreatIntelJoinBolt.java   | 4 ++--
 .../apache/metron/enrichment/bolt/ThreatIntelSplitterBolt.java   | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/b38e017f/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentJoinBolt.java
----------------------------------------------------------------------
diff --git a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentJoinBolt.java
b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentJoinBolt.java
index dd936f6..de6967b 100644
--- a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentJoinBolt.java
+++ b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentJoinBolt.java
@@ -92,7 +92,7 @@ public class EnrichmentJoinBolt extends JoinBolt<JSONObject> {
       if (config != null) {
         return config.getEnrichment().getEnrichmentConfigs();
       } else {
-        LOG.error("Unable to retrieve a sensor enrichment config of " + sensorType);
+        LOG.info("Unable to retrieve a sensor enrichment config of " + sensorType);
       }
     } else {
       LOG.error("Trying to retrieve a field map with sensor type of null");
@@ -107,7 +107,7 @@ public class EnrichmentJoinBolt extends JoinBolt<JSONObject> {
         return config.getEnrichment().getFieldMap();
       }
       else {
-        LOG.error("Unable to retrieve a sensor enrichment config of " + sourceType);
+        LOG.info("Unable to retrieve a sensor enrichment config of " + sourceType);
       }
     }
     else {

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/b38e017f/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java
----------------------------------------------------------------------
diff --git a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java
b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java
index e67db7e..af59dcd 100644
--- a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java
+++ b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java
@@ -137,7 +137,7 @@ public class EnrichmentSplitterBolt extends SplitBolt<JSONObject>
{
       if (config != null) {
         return config.getEnrichment().getEnrichmentConfigs();
       } else {
-        LOG.error("Unable to retrieve a sensor enrichment config of " + sensorType);
+        LOG.info("Unable to retrieve a sensor enrichment config of " + sensorType);
       }
     } else {
       LOG.error("Trying to retrieve a field map with sensor type of null");
@@ -150,7 +150,7 @@ public class EnrichmentSplitterBolt extends SplitBolt<JSONObject>
{
       if (config != null) {
         return config.getEnrichment().getFieldMap();
       } else {
-        LOG.error("Unable to retrieve a sensor enrichment config of " + sensorType);
+        LOG.info("Unable to retrieve a sensor enrichment config of " + sensorType);
       }
     } else {
       LOG.error("Trying to retrieve a field map with sensor type of null");

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/b38e017f/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelJoinBolt.java
----------------------------------------------------------------------
diff --git a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelJoinBolt.java
b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelJoinBolt.java
index bb0bee5..01e5a9f 100644
--- a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelJoinBolt.java
+++ b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelJoinBolt.java
@@ -52,7 +52,7 @@ public class ThreatIntelJoinBolt extends EnrichmentJoinBolt {
       if (config != null) {
         return config.getThreatIntel().getEnrichmentConfigs();
       } else {
-        LOG.error("Unable to retrieve a sensor enrichment config of " + sensorType);
+        LOG.info("Unable to retrieve a sensor enrichment config of " + sensorType);
       }
     } else {
       LOG.error("Trying to retrieve a field map with sensor type of null");
@@ -81,7 +81,7 @@ public class ThreatIntelJoinBolt extends EnrichmentJoinBolt {
       return config.getThreatIntel().getFieldMap();
     }
     else {
-      LOG.error("Unable to retrieve sensor config: " + sourceType);
+      LOG.info("Unable to retrieve sensor config: " + sourceType);
       return null;
     }
   }

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/b38e017f/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelSplitterBolt.java
----------------------------------------------------------------------
diff --git a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelSplitterBolt.java
b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelSplitterBolt.java
index b39434f..72ef4d2 100644
--- a/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelSplitterBolt.java
+++ b/metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/ThreatIntelSplitterBolt.java
@@ -37,7 +37,7 @@ public class ThreatIntelSplitterBolt extends EnrichmentSplitterBolt {
       if (config != null) {
         return config.getThreatIntel().getEnrichmentConfigs();
       } else {
-        LOG.error("Unable to retrieve a sensor config of " + sensorType);
+        LOG.info("Unable to retrieve a sensor config of " + sensorType);
       }
     } else {
       LOG.error("Trying to retrieve a field map with sensor type of null");
@@ -52,7 +52,7 @@ public class ThreatIntelSplitterBolt extends EnrichmentSplitterBolt {
       if (config != null) {
         return config.getThreatIntel().getFieldMap();
       } else {
-        LOG.error("Unable to retrieve sensor config: " + sensorType);
+        LOG.info("Unable to retrieve sensor config: " + sensorType);
       }
     } else {
       LOG.error("Trying to retrieve a field map with sensor type of null");


Mime
View raw message