From 225dc6f7a394de7f6a94ecd29fdfd6b5c504e5a9 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Sun, 18 Jan 2015 20:49:44 +0100 Subject: [PATCH] fixed #806 --- core/uwsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uwsgi.c b/core/uwsgi.c index e7cb7706..73b7da0b 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -2262,7 +2262,7 @@ void uwsgi_setup(int argc, char *argv[], char *envp[]) { uwsgi_opt_flock(NULL, uwsgi.flock_wait2, NULL); // setup master logging - if (uwsgi.log_master) + if (uwsgi.log_master && !uwsgi.daemonize2) uwsgi_setup_log_master(); // setup offload engines