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

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


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

commit 6739eab1616987cca34dd71474849376ba644161
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 4ff26c3..d9550c0 100644
--- a/src/slave/containerizer/mesos/containerizer.cpp
+++ b/src/slave/containerizer/mesos/containerizer.cpp
@@ -2724,6 +2724,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