--- logger.c 2015-10-09 23:48:48.000000000 +0200 +++ logger-new.c 2015-11-10 15:24:10.000000000 +0100 @@ -388,6 +388,7 @@ } 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