A new system log daemon for Fedora
[Posted July 18, 2007 by ris]
Fedora 8 will be using
Rsyslog
instead of sysklogd. In fact, rsyslog is
already in rawhide. The Fedora
wiki site
notes that sysklogd seems to be dead upstream and there are many new
features that people have been requesting. Rsyslog seems to be the package
that best meets the requirements of a feature-full yet backward compatible
system log daemon.
The list
of rsyslog features includes native support for writing to MySQL
databases, support for (plain) tcp based syslog, support for sending and
receiving compressed syslog messages, support for receiving messages via
reliable RFC 3195 delivery, the ability to generate file names and
directories dynamically, control of log output format, good timestamp
format control, the ability to reformat message contents and work with
substrings, support for log files larger than 2gb, support for file size
limitation and automatic rollover command execution, support for running
multiple rsyslogd instances on a single machine, support for ssl-protected
syslog (via stunnel), the ability to filter on any part of the message, the
ability to use regular expressions in filters, support for discarding
messages based on filters, the ability to execute shell scripts on received
messages, control of whether the local hostname or the hostname of the
origin of the data is shown as the hostname in the output, the ability to
preserve the original hostname in NAT environments and relay chains, the
ability to limit the allowed network senders, powerful BSD-style hostname
and program name blocks for easy multi-host support, multi-threaded,
experimental support for syslog-transport-tls based framing on syslog/tcp
connections, a copy of klogd.c has been included under the name of rklogd
for those Linux systems that need one, support for IPv6, the ability to
control repeated line reduction ("last message repeated n times") on a per
selector-line basis, and more. Rsyslog is actively maintained and new
features are added every few days.
The biggest issue in Fedora so far seem to be the upgrade path and how to
replace sysklogd gracefully. Hopefully this will be resolved (or at least
well documented) before the final Fedora 8 release. Those who do a clean
install of Fedora 8 should have no problems whatsoever.
(
Log in to post comments)