mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject [4/5] mesos git commit: Tweaked agent logging.
Date Tue, 02 Aug 2016 16:45:10 GMT
Tweaked agent logging.

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


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

Branch: refs/heads/master
Commit: f9b0558a5bfc12f784dde74195b88782e6e8d203
Parents: 961f29b
Author: Neil Conway <neil.conway@gmail.com>
Authored: Tue Aug 2 09:36:40 2016 -0700
Committer: Anand Mazumdar <anand@apache.org>
Committed: Tue Aug 2 09:36:40 2016 -0700

----------------------------------------------------------------------
 src/slave/main.cpp  | 3 ---
 src/slave/slave.cpp | 4 ++--
 2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/f9b0558a/src/slave/main.cpp
----------------------------------------------------------------------
diff --git a/src/slave/main.cpp b/src/slave/main.cpp
index a4d971a..42ca115 100644
--- a/src/slave/main.cpp
+++ b/src/slave/main.cpp
@@ -430,9 +430,6 @@ int main(int argc, char** argv)
     return EXIT_FAILURE;
   }
 
-
-  LOG(INFO) << "Starting Mesos agent";
-
   Slave* slave = new Slave(
       id,
       flags,

http://git-wip-us.apache.org/repos/asf/mesos/blob/f9b0558a/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index 7e2e89b..51d7831 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -195,7 +195,7 @@ void Slave::signaled(int signal, int uid)
 
 void Slave::initialize()
 {
-  LOG(INFO) << "Agent started on " << string(self()).substr(6);
+  LOG(INFO) << "Mesos agent started on " << string(self()).substr(5);
   LOG(INFO) << "Flags at startup: " << flags;
 
   if (self().address.ip.isLoopback()) {
@@ -3782,7 +3782,7 @@ void Slave::pingTimeout(Future<Option<MasterInfo>> future)
 
 void Slave::exited(const UPID& pid)
 {
-  LOG(INFO) << pid << " exited";
+  LOG(INFO) << "Got exited event for " << pid;
 
   if (master.isNone() || master.get() == pid) {
     // TODO(neilc): Try to re-link to the master (MESOS-1963).


Mime
View raw message