[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#491180: release-notes: Document the switch of default system log daemon from sysklogd to rsyslog



Jonas Meurer wrote:
> On 04/10/2008 Luk Claes wrote:
>> Can you please provide a proposed text (license: GPL v2) regarding the
>> switch of the default system log daemo to include in the release notes?
>>
>> It should not be too technical (a pointer to README.Debian for the
>> technical details would do), but should mention that it's something
>> which doesn't happen automatically while upgrading etc.
> 
> Hello,
> 
> Attached is a first rough patch. I guess it's better than nothing. Feel free
> to improve it as you want. License is GPLv2.

Hi Jonas, hi Luk,

I think Jonas text is quite good already. What I'd like to change though is the
following sentence:

In most cases it should be sufficient to copying <filename>/etc/syslog.conf</"
"filename> to <filename>/etc/rsyslog.conf</filename>.

rsyslog v3 is much more modular than previous releases, and you have to load a
couple of modules (such as imuxsock for local logging), otherwise it could lead
to subtle failures.

rsyslog can be run in a sort of "compat" mode, where it loads a default set of
modules and thus is more compatible to old sysklogd behaviour, but this requires
to edit /etc/default/rsyslog and changing -c3 to -c2.

Instead of copying the old syslog.conf over rsyslog.conf, I'd rather suggest to
migrate custom configuration from syslog.conf to rsyslog.conf


So this would be my recommendation:

If you have custom logging rules, you should migrate them to the new
configuration file <filename>/etc/rsyslog.conf</filename>.


Comments welcome.

A patch is attached.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Index: en/whats-new.dbk
===================================================================
--- en/whats-new.dbk	(Revision 5625)
+++ en/whats-new.dbk	(Arbeitskopie)
@@ -395,9 +395,8 @@
 role="package">rsyslog</systemitem> instead of <systemitem
 role="package">sysklogd</systemitem>. <systemitem
 role="package">rsyslog</systemitem> is quite compatible to stock sysklogd and
-can be used as a drop-in replacement. In most cases it should be sufficient to
-copying <filename>/etc/syslog.conf</filename> to
-<filename>/etc/rsyslog.conf</filename>.
+can be used as a drop-in replacement. If you have custom logging rules, you
+should migrate them to the new configuration file <filename>/etc/rsyslog.conf</filename>.
 </para>
 <para>
 Users upgrading from &oldreleasename; need to install <systemitem

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: