projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed the logging facility from citserver, use syslog instead
[citadel.git]
/
webcit
/
webserver.c
diff --git
a/webcit/webserver.c
b/webcit/webserver.c
index 858f0b61e0aee2332196023cad3b619174fae366..805451fe5b6804feb90661f29f470ea8fd192bd9 100644
(file)
--- a/
webcit/webserver.c
+++ b/
webcit/webserver.c
@@
-216,6
+216,12
@@
int main(int argc, char **argv)
return 1;
}
+ /* Start the logger */
+ openlog("webcit",
+ ( running_as_daemon ? (LOG_PID) : (LOG_PID | LOG_PERROR) ),
+ LOG_DAEMON
+ );
+
if (optind < argc) {
ctdlhost = argv[optind];
if (++optind < argc)