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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

How Linux Works, 2nd Edition

How Linux Works, 2nd Edition

Brian Ward

Publisher Resources

ISBN: 9780596806088Errata Page