fixed logfile inheritance

This commit is contained in:
roberto@quantal64
2012-06-13 08:04:05 +02:00
parent 05a40e786c
commit 13c112430d
+6 -2
View File
@@ -1747,7 +1747,9 @@ int main(int argc, char *argv[], char *envp[]) {
}
}
else if (uwsgi.logfile) {
logto(uwsgi.logfile);
if (!uwsgi.is_a_reload || uwsgi.log_reopen) {
logto(uwsgi.logfile);
}
}
if (uwsgi.never_swap) {
@@ -2029,7 +2031,9 @@ int uwsgi_start(void *v_argv) {
}
if (uwsgi.logto2) {
logto(uwsgi.logto2);
if (!uwsgi.is_a_reload || uwsgi.log_reopen) {
logto(uwsgi.logto2);
}
}
if (uwsgi.chdir) {