From 1ebf60fbc3b4262af5b1a3bd355e114cab412f77 Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Sun, 21 Aug 2011 22:47:00 -0700 Subject: [PATCH] reopen logs on USR1 to master --- gunicorn/arbiter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py index 46ac2ee8..4b71f2b5 100644 --- a/gunicorn/arbiter.py +++ b/gunicorn/arbiter.py @@ -248,6 +248,7 @@ class Arbiter(object): Kill all workers by sending them a SIGUSR1 """ self.kill_workers(signal.SIGUSR1) + self.log.reopen_files() def handle_usr2(self): """\