projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f78de
)
Eliminate the use of LOG_PERROR. Not all platforms have it.
author
Art Cancro
<ajc@citadel.org>
Mon, 12 Feb 2007 16:48:52 +0000
(16:48 +0000)
committer
Art Cancro
<ajc@citadel.org>
Mon, 12 Feb 2007 16:48:52 +0000
(16:48 +0000)
citadel/server_main.c
patch
|
blob
|
history
diff --git
a/citadel/server_main.c
b/citadel/server_main.c
index c46f80a37b0919bd21923156471b847533db5811..568467fd437e9c829af3def6a5b40237cfc37f7a 100644
(file)
--- a/
citadel/server_main.c
+++ b/
citadel/server_main.c
@@
-160,12
+160,7
@@
int main(int argc, char **argv)
* facilities when we need to...
*/
if (enable_syslog) {
- if (running_as_daemon) {
- openlog("citadel", LOG_NDELAY, 0);
- }
- else {
- openlog("citadel", LOG_PERROR|LOG_NDELAY, 0);
- }
+ openlog("citadel", LOG_NDELAY, 0);
setlogmask(LOG_UPTO(verbosity));
}