"\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n"
#ifdef BB_FEATURE_REMOTE_LOG
"\t-R HOST[:PORT]\t\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n"
- "\t-N\t\tDo not log anything locally -- network logging only.\n"
+ "\t-L\t\tLog locally as well as network logging (defaut is network only)\n"
#endif
#endif
;
-n Run as a foreground process
-K Do not start up the klogd process
-O FILE Use an alternate log file (default=/var/log/messages)
- -R HOST[:PORT] Log messages to HOST on PORT (default=514) over UDP.
- -N Do not log anything locally -- network logging only
+ -R HOST[:PORT] Log remotely to IP or hostname on PORT (default PORT=514/UDP)
+ -L Log locally as well as network logging (defaut is network only)
Example:
=cut
-# $Id: busybox.pod,v 1.80 2000/12/09 16:37:53 andersen Exp $
+# $Id: busybox.pod,v 1.81 2000/12/11 16:24:16 andersen Exp $
-n Run as a foreground process
-K Do not start up the klogd process
-O FILE Use an alternate log file (default=/var/log/messages)
- -R HOST[:PORT] Log messages to HOST on PORT (default=514) over UDP.
- -N Do not log anything locally -- network logging only
+ -R HOST[:PORT] Log remotely to IP or hostname on PORT (default PORT=514/UDP)
+ -L Log locally as well as network logging (defaut is network only)
</screen>
</para>
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 */
doRemoteLog = TRUE;
stopDoingThat = TRUE;
break;
- case 'N':
- local_logging = FALSE;
+ case 'L':
+ local_logging = TRUE;
break;
#endif
default:
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 */
doRemoteLog = TRUE;
stopDoingThat = TRUE;
break;
- case 'N':
- local_logging = FALSE;
+ case 'L':
+ local_logging = TRUE;
break;
#endif
default:
"\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n"
#ifdef BB_FEATURE_REMOTE_LOG
"\t-R HOST[:PORT]\t\tLog remotely to IP or hostname on PORT (default PORT=514/UDP)\n"
- "\t-N\t\tDo not log anything locally -- network logging only.\n"
+ "\t-L\t\tLog locally as well as network logging (defaut is network only)\n"
#endif
#endif
;