From c431fc6cc1d3f415d2a074d218876f2414be0edd Mon Sep 17 00:00:00 2001 From: Colum McGaley Date: Mon, 22 Jan 2018 13:17:40 -0600 Subject: [PATCH] Added logging for the reason why the check failed and restart happened --- superlance/httpok.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superlance/httpok.py b/superlance/httpok.py index 27f109c..f588b58 100644 --- a/superlance/httpok.py +++ b/superlance/httpok.py @@ -324,6 +324,9 @@ def write(msg): self.log.logger.warning(msg) messages.append(msg) + write(subject) + write(msg) + try: specs = self.rpc.supervisor.getAllProcessInfo() except Exception as e: