Browse Source

TT#64301 log xmlrpc children to stderr

Change-Id: I103c062bc797c609983a995d835a84a00267aa86
changes/62/32262/1
Richard Fuchs 6 years ago
parent
commit
3fb5befad4
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      daemon/call.c

+ 4
- 1
daemon/call.c View File

@ -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