You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2018/04/27 13:53:00 UTC

[ambari] branch trunk updated: [AMBARI-23714] Log Feeder: use info level log instead of warn when a l… (#1120)

This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 04a3e09  [AMBARI-23714] Log Feeder: use info level log instead of warn when a l… (#1120)
04a3e09 is described below

commit 04a3e0989c0cf02312a6503be079019d785b8be2
Author: Olivér Szabó <ol...@gmail.com>
AuthorDate: Fri Apr 27 15:52:57 2018 +0200

    [AMBARI-23714] Log Feeder: use info level log instead of warn when a l… (#1120)
    
    * AMBARI-23714. Log Feeder: use info level log instead of warn when a logfile does not exist.
    
    * AMBARI-23714. Fix log.
---
 .../src/main/java/org/apache/ambari/logfeeder/util/FileUtil.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/util/FileUtil.java b/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/util/FileUtil.java
index cc6b1e0..14b0e0c 100644
--- a/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/util/FileUtil.java
+++ b/ambari-logsearch/ambari-logsearch-logfeeder/src/main/java/org/apache/ambari/logfeeder/util/FileUtil.java
@@ -121,11 +121,11 @@ public class FileUtil {
             return files;
           }
         } catch (Exception e) {
-          LOG.warn("Input file not found by pattern (exception thrown); {}, message: {}", searchPath, e.getMessage());
+          LOG.warn("Input file was not found by pattern (exception thrown); {}, message: {}", searchPath, e.getMessage());
         }
 
       } else {
-        LOG.warn("Input file config not found by pattern; {}", searchPath);
+        LOG.info("Input file config was not found by pattern; {}", searchPath);
       }
       return new File[]{};
     }

-- 
To stop receiving notification emails like this one, please contact
oleewere@apache.org.