TT#64301 log xmlrpc children to stderr

Change-Id: I103c062bc797c609983a995d835a84a00267aa86
changes/62/32262/1
Richard Fuchs 6 years ago
parent 3a0a5b6f7d
commit 3fb5befad4

@ -290,8 +290,11 @@ retry:
sigprocmask(SIG_SETMASK, &ss, NULL);
closelog();
for (i = 0; i < 100; i++)
for (i = 0; i < 100; i++) {
if (i == 2 && rtpe_config.common.log_stderr)
continue;
close(i);
}
if (!rtpe_config.common.log_stderr) {
openlog("rtpengine/child", LOG_PID | LOG_NDELAY, LOG_DAEMON);

Loading…
Cancel
Save