Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

rsyslogd

Synopsis

rsyslogd [options]

System administration command. rsyslogd provides local and remote logging functions. It is based on sysklogd and on some systems replaces that program. It adds support for logging over TCP, SSL, TLS, logging to databases and more. By default rsyslogd is command-line compatible with sysklogd and can be used as a drop-in replacement. In native mode, some of the old command line options have been moved to the configuration file. rsyslogd will log warnings for these deprecated commands. Its compatibility mode can be changed with the -c3 option.

rsyslogd logs system messages into a set of files described by the configuration file /etc/rsyslog.conf. Each message is one line. A message can contain a priority code, marked by a number in angle brackets at the beginning of the line.

Options

−4

Listen on IPV4 addresses only.

−6

Listen on IPV6 addresses only.

-A

If there are multiple paths to a UDP target, send to all paths.

-cmode

Set compatibility mode. Values for mode are 0, for sysklogd and 3 to enable native rsyslogd options. The default value is 0 though this also generates a warning that you are not using native mode.

-d

Turn on debugging. Don’t fork.

-f configfile

Specify alternate configuration file.

-i pidfile

Specify alternate pid file.

-l hostlist

Specify hostnames that should be logged with just the hostname, not the fully qualified domain name (fqdn). Multiple hosts should be separated by a colon (:).

-n

Avoid auto-backgrounding. This is needed when starting ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page