Always log with correct facility.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 8 May 2007 18:27:09 +0000 (18:27 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 8 May 2007 18:27:09 +0000 (18:27 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1031 959494ce-11ee-0310-bf91-de5d638817bd

daemon/log.c

index 61c7638..b72e62d 100644 (file)
@@ -56,7 +56,7 @@ void flog(int priority, char *format, ...)
        writev(2, iov, 2);
     }
     if(logtosyslog)
-       syslog(priority, "%s", b);
+       syslog(syslogfac | priority, "%s", b);
     free(b);
 }