Rsyslogd
Launchpad Entry: rsyslogd
Created:
Contributors: ColinWatson, MichaelBiebl
Packages affected: sysklogd, rsyslog
Summary
Debian is using rsyslog as its system log daemon rather than sysklogd now. Investigate following suit.
Release Note
Ubuntu now uses rsyslog as its system log daemon rather than the older sysklogd. rsyslog has a compatible configuration file format, but is more extensible, including the ability to log to SQL databases.
Rationale
This should cover the _why_: why is this change being proposed, what justifies it, where we see this justified.
User stories
Assumptions
Design
You can have subsections that better describe specific parts of the issue.
Implementation
This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:
UI Changes
Should cover changes required to the UI, or specific UI that is required to implement this
Code Changes
Code changes should include an overview of what needs to change, and in some cases even the specific details.
Migration
Include:
- data migration, if any
- redirects from old URLs to new ones, if any
- how users will be pointed to the new way of doing things, if necessary.
Test/Demo Plan
It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.
This need not be added or completed until the specification is nearing beta.
Unresolved issues
This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.
BoF agenda and discussion
Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected.
mbiebl (Debian maintainer): - pretty painless switch to rsyslog in Debian; not many bug reports after lenny - no switch for upgraders - rsyslog provides compatibility with sysklogd configuration style, used by default - compatibility levels (v2 = sysklogd) - rsyslog.conf if you want new-style - split out database modules into separate packages - filter on any part of message (e.g. filter out NetworkManager/ACPI messages) comparison against syslog-ng: - rsyslog has direct compatibility with sysklogd - syslog-ng has a "premium edition" and "open source edition" - rsyslog upstream very receptive indeed in Ubuntu, would have to deal with configuration file migration (rsyslog.conf is a conffile) - `$IncludeConfig /etc/syslog.conf`? - copy /etc/syslog.conf to /etc/rsyslog.d/something? - would also need to ship a default for that, and remove default logging configuration from /etc/rsyslog.conf ubuntu-minimal Depends: rsyslog | system-log-daemon? (would have to hack metapackage autogeneration) Canonical Ubuntu support currently recommend rsyslog with SQL database logging future work on native Oracle backend with improved batching package integration work, at least for anything with a chroot (cf. postfix) beware bug 255635