You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by id...@apache.org on 2014/06/02 19:10:45 UTC

git commit: Improve log message for slave moving itself into a cgroup.

Repository: mesos
Updated Branches:
  refs/heads/master 81f7fe912 -> aebd443ab


Improve log message for slave moving itself into a cgroup.

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


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

Branch: refs/heads/master
Commit: aebd443abf6193bf7248d66a9e6b38196300ce28
Parents: 81f7fe9
Author: Ian Downes <id...@twitter.com>
Authored: Wed May 14 12:46:22 2014 -0700
Committer: Ian Downes <id...@twitter.com>
Committed: Mon Jun 2 10:09:58 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/aebd443a/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index c5c0513..3b10a4c 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -149,7 +149,8 @@ void Slave::initialize()
   if (flags.slave_subsystems.isSome()) {
     foreach (const string& subsystem,
             strings::tokenize(flags.slave_subsystems.get(), ",")) {
-      LOG(INFO) << "Moving slave process into its own cgroup";
+      LOG(INFO) << "Moving slave process into its own cgroup for"
+                << " subsystem: " << subsystem;
 
       // Ensure the subsystem is mounted and the Mesos root cgroup is present.
       Try<string> hierarchy = cgroups::prepare(