diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-12-11 16:24:16 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-12-11 16:24:16 +0000 |
commit | 70d09ed1cf54ae20d38c5c56c5afb5994cc46f32 (patch) | |
tree | 03967343beeea7544249bd5195c669498e051006 /sysklogd | |
parent | 9962cd9f7879e8b51ab6eca5abd7c5e51cec8685 (diff) | |
download | busybox-70d09ed1cf54ae20d38c5c56c5afb5994cc46f32.tar.gz |
Reverse logic so when network logging, it by default does not log locally.
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 6 |
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; static int RemotePort = 514; /* To remote log or not to remote log, that is the question. */ static int doRemoteLog = FALSE; -static int local_logging = TRUE; +static int local_logging = FALSE; #endif /* Note: There is also a function called "message()" in init.c */ @@ -531,8 +531,8 @@ extern int syslogd_main(int argc, char **argv) doRemoteLog = TRUE; stopDoingThat = TRUE; break; - case 'N': - local_logging = FALSE; + case 'L': + local_logging = TRUE; break; #endif default: |