Merge "logger: Add PID to syslog messages."

This commit is contained in:
Joshua Colp 2016-05-14 20:37:43 -05:00 committed by Gerrit Code Review
commit acdd0ae993
1 changed files with 1 additions and 0 deletions

View File

@ -531,6 +531,7 @@ static struct logchannel *make_logchannel(const char *channel, const char *compo
}
chan->type = LOGTYPE_SYSLOG;
openlog("asterisk", LOG_PID, chan->facility);
} else {
if (!(chan->fileptr = fopen(chan->filename, "a"))) {
/* Can't do real logging here since we're called with a lock