aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-11 16:24:16 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-11 16:24:16 +0000
commite851973e64e1419143f428deb2382f9e1b258b57 (patch)
tree03967343beeea7544249bd5195c669498e051006 /sysklogd
parentbe3acb9f7d681998d1086f841089fc30a35563d7 (diff)
downloadbusybox-w32-e851973e64e1419143f428deb2382f9e1b258b57.tar.gz
busybox-w32-e851973e64e1419143f428deb2382f9e1b258b57.tar.bz2
busybox-w32-e851973e64e1419143f428deb2382f9e1b258b57.zip
Reverse logic so when network logging, it by default does not log locally.
git-svn-id: svn://busybox.net/trunk/busybox@1418 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 75d73e322..fd56aad97 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -86,7 +86,7 @@ static char *RemoteHost;
86static int RemotePort = 514; 86static int RemotePort = 514;
87/* To remote log or not to remote log, that is the question. */ 87/* To remote log or not to remote log, that is the question. */
88static int doRemoteLog = FALSE; 88static int doRemoteLog = FALSE;
89static int local_logging = TRUE; 89static int local_logging = FALSE;
90#endif 90#endif
91 91
92/* Note: There is also a function called "message()" in init.c */ 92/* Note: There is also a function called "message()" in init.c */
@@ -531,8 +531,8 @@ extern int syslogd_main(int argc, char **argv)
531 doRemoteLog = TRUE; 531 doRemoteLog = TRUE;
532 stopDoingThat = TRUE; 532 stopDoingThat = TRUE;
533 break; 533 break;
534 case 'N': 534 case 'L':
535 local_logging = FALSE; 535 local_logging = TRUE;
536 break; 536 break;
537#endif 537#endif
538 default: 538 default: