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