4 changed files with 89 additions and 10 deletions
@ -0,0 +1,25 @@
|
||||
--- src/main.c.orig Tue May 20 00:52:58 2003
|
||||
+++ src/main.c Thu Jun 26 15:42:16 2003
|
||||
@@ -14,6 +14,10 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include "cvs.h"
|
||||
+#ifdef SERVER_SUPPORT && HAVE_SYSLOG_H
|
||||
+#include <syslog.h>
|
||||
+#include <stdarg.h>
|
||||
+#endif
|
||||
|
||||
#ifdef HAVE_WINSOCK_H
|
||||
#include <winsock.h>
|
||||
@@ -424,6 +428,11 @@
|
||||
/* `getopt_long' stores the option index here, but right now we
|
||||
don't use it. */
|
||||
int option_index = 0;
|
||||
+
|
||||
+#ifdef SERVER_SUPPORT && HAVE_SYSLOG_H
|
||||
+ /* fsl identification */
|
||||
+ openlog("cvs", 0, LOG_DAEMON);
|
||||
+#endif
|
||||
|
||||
#ifdef SYSTEM_INITIALIZE
|
||||
/* Hook for OS-specific behavior, for example socket subsystems on
|
||||
@ -0,0 +1,16 @@
|
||||
## |
||||
## fsl.cvs -- OSSP fsl configuration |
||||
## |
||||
|
||||
ident (cvs)/.+ q{ |
||||
prefix( |
||||
prefix="%b %d %H:%M:%S %N <%L> $1[%P]: " |
||||
) |
||||
-> { |
||||
debug: file( |
||||
path="@l_prefix@/var/cvs/cvs.log", |
||||
append=1, perm=0644 |
||||
) |
||||
} |
||||
}; |
||||
|
||||
Loading…
Reference in new issue