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

vinodkone pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/1.7.x by this push:
     new 3d48604  Added a log line to `MesosContainerizer::kill()`.
3d48604 is described below

commit 3d48604b7582d0063f31fb581b3f938b03f001d2
Author: Vinod Kone <[email protected]>
AuthorDate: Wed Oct 3 09:51:53 2018 -0500

    Added a log line to `MesosContainerizer::kill()`.
    
    Review: https://reviews.apache.org/r/68912
---
 src/slave/containerizer/mesos/containerizer.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/slave/containerizer/mesos/containerizer.cpp 
b/src/slave/containerizer/mesos/containerizer.cpp
index a89474b..6c27000 100644
--- a/src/slave/containerizer/mesos/containerizer.cpp
+++ b/src/slave/containerizer/mesos/containerizer.cpp
@@ -2826,6 +2826,10 @@ Future<bool> MesosContainerizerProcess::kill(
 
   const Owned<Container>& container = containers_.at(containerId);
 
+  LOG_BASED_ON_CLASS(container->containerClass())
+    << "Sending " << strsignal(signal) << " to container "
+    << containerId << " in " << container->state << " state";
+
   // This can happen when we try to signal the container before it
   // is launched. We destroy the container forcefully in this case.
   //

Reply via email to