From 6cb67e49cabf0b4de4d0df3f1e4f57c06ee3c820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20L=C3=AA-Qu=C3=B4c?= Date: Mon, 4 Aug 2014 15:30:12 -0400 Subject: [PATCH] Restore number of workers in DEBUG log --- gunicorn/arbiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py index ae53290d..882d63f0 100644 --- a/gunicorn/arbiter.py +++ b/gunicorn/arbiter.py @@ -482,7 +482,7 @@ class Arbiter(object): (pid, _) = workers.pop(0) self.kill_worker(pid, signal.SIGTERM) - self.log.debug("", + self.log.debug("{0} workers".format(len(workers), extra={ "metric": "gunicorn.workers", "value": len(workers), "mtype": "gauge"})