openbsd-ports/net/proftpd/patches/patch-ad
1999-02-22 05:13:33 +00:00

21 lines
578 B
Plaintext

--- src/log.c.orig Sat Oct 17 22:24:41 1998
+++ src/log.c Mon Dec 14 15:14:12 1998
@@ -44,7 +44,7 @@
static int syslog_discard = FALSE;
static int logstderr = TRUE;
static int debug_level = DEBUG0; /* Default is no debug logging */
-static int facility = LOG_DAEMON;
+static int facility = LOG_FTP;
static int set_facility = -1;
static char *syslog_fn = NULL;
static char *syslog_hostname;
@@ -718,7 +718,7 @@
buf[1023] = '\0';
- log(priority,LOG_AUTHPRIV,buf);
+ log(priority,LOG_FTP,buf);
}
/* Disable logging to stderr, should be done right before forking