You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2017/05/22 05:44:28 UTC

mesos git commit: Cleaned up master log lines for better consistency.

Repository: mesos
Updated Branches:
  refs/heads/master 75cc6e33a -> 2daa82314


Cleaned up master log lines for better consistency.


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

Branch: refs/heads/master
Commit: 2daa8231489a684bb2c830d0190c636448dde9f6
Parents: 75cc6e3
Author: Jiang Yan Xu <xu...@apple.com>
Authored: Sun May 21 22:20:56 2017 -0700
Committer: Jiang Yan Xu <xu...@apple.com>
Committed: Sun May 21 22:43:56 2017 -0700

----------------------------------------------------------------------
 src/master/master.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/2daa8231/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index 02affe2..e0705a5 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -5475,6 +5475,7 @@ void Master::_registerSlave(
 
   if (authorizationError.isSome()) {
     LOG(WARNING) << "Refusing registration of agent at " << pid
+                 << " (" << slaveInfo.hostname() << ")"
                  << ": " << authorizationError.get();
 
     ShutdownMessage message;
@@ -5762,7 +5763,8 @@ void Master::_reregisterSlave(
   }
 
   if (authorizationError.isSome()) {
-    LOG(WARNING) << "Refusing re-registration of agent at " << pid
+    LOG(WARNING) << "Refusing re-registration of agent " << slaveInfo.id()
+                 << " at " << pid << " (" << slaveInfo.hostname() << ")"
                  << ": " << authorizationError.get();
 
     ShutdownMessage message;