mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
Merge "logger: Add PID to syslog messages." into 13
This commit is contained in:
@@ -388,6 +388,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
|
||||
|
Reference in New Issue
Block a user