You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/03/17 04:32:06 UTC

mesos git commit: Fix the mis-leading URI fetcher error message (MESOS-4954).

Repository: mesos
Updated Branches:
  refs/heads/master 9029e4347 -> 76589d75c


Fix the mis-leading URI fetcher error message (MESOS-4954).

This fix changes the URL fetcher error message from LOG(ERROR) to
LOG(INFO) as the plugin is actually skipped if it is not created.

Review: https://reviews.apache.org/r/44883/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/76589d75
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/76589d75
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/76589d75

Branch: refs/heads/master
Commit: 76589d75c05fd53dd15026fc18d91f455afa51f8
Parents: 9029e43
Author: Yong Tang <yo...@outlook.com>
Authored: Wed Mar 16 20:31:56 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed Mar 16 20:31:56 2016 -0700

----------------------------------------------------------------------
 src/uri/fetcher.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/76589d75/src/uri/fetcher.cpp
----------------------------------------------------------------------
diff --git a/src/uri/fetcher.cpp b/src/uri/fetcher.cpp
index 8645b66..aa9df5d 100644
--- a/src/uri/fetcher.cpp
+++ b/src/uri/fetcher.cpp
@@ -56,8 +56,8 @@ Try<Owned<Fetcher>> create(const Option<Flags>& _flags)
     if (plugin.isError()) {
       // NOTE: We skip the plugin if it cannot be created, instead of
       // returning an Error so that we can still use other plugins.
-      LOG(ERROR) << "Failed to create URI fetcher plugin "
-                 << "'"  << name << "': " << plugin.error();
+      LOG(INFO) << "Skipping URI fetcher plugin " << "'"  << name << "' "
+                << "as it could not be created: " << plugin.error();
       continue;
     }