Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BC771200B9F for ; Tue, 11 Oct 2016 16:51:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BAE81160AE6; Tue, 11 Oct 2016 14:51:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DB73A160AD2 for ; Tue, 11 Oct 2016 16:51:09 +0200 (CEST) Received: (qmail 75059 invoked by uid 500); 11 Oct 2016 14:51:09 -0000 Mailing-List: contact commits-help@metron.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@metron.incubator.apache.org Delivered-To: mailing list commits@metron.incubator.apache.org Received: (qmail 75050 invoked by uid 99); 11 Oct 2016 14:51:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2016 14:51:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A82CBC11D4 for ; Tue, 11 Oct 2016 14:51:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Xyh10Z_RNLV4 for ; Tue, 11 Oct 2016 14:51:07 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 488BF5FAFA for ; Tue, 11 Oct 2016 14:51:07 +0000 (UTC) Received: (qmail 73720 invoked by uid 99); 11 Oct 2016 14:50:35 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2016 14:50:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B3F73E00C7; Tue, 11 Oct 2016 14:50:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cestella@apache.org To: commits@metron.incubator.apache.org Message-Id: <9fcaa6f6775c4e1b98a75bbe8ccc65c0@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) archived-at: Tue, 11 Oct 2016 14:51:10 -0000 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 Authored: Tue Oct 11 10:50:25 2016 -0400 Committer: cstella 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 { 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 { 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 { 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 { 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");