Review request: syslog-ng (syslog replacement daemon)

Jose Pedro Oliveira jpo at di.uminho.pt
Sat May 7 19:57:13 UTC 2005


> On Sat, May 07, 2005 at 07:03:01PM +0100, Jose Pedro Oliveira wrote:
>> >> I haven't looked at this particular case, but if this is the only
>> >> change needed, might there be a way to generalize the
>> >> /etc/logrotate.d/syslog file in the syslog RPM?
> [...]
>> It won't work. People will change the syslog/syslog-ng configuration
>> files to modify/create/remove logging rules and logging destinations.
>
> Are you saying you have a magic syslog-ng logrotate configuration that
> works
> with all possible ways to configure syslog-ng but which cannot work with
> regular syslog?

No I'm not.

After installing the syslog-ng package you will have two logrotate files
  1) /etc/logrotate.d/syslog (owned by sysklogd)
  2) /etc/logrotate.d/syslog-ng (owned by syslog-ng)
But in order for logrotate to do its work I comment every line
on the first one (/etc/logrotate.d/syslog) as logrotate refuses to
run if a logfile is mentioned more than once.

The syslog-ng configuration mimics the default syslog configuration
shipped by Red Hat (ie: same log destinations).

jpo

PS - More information available in
     https://bugzilla.fedora.us/show_bug.cgi?id=1332
-- 
José Pedro Oliveira
* mailto: jpo at di.uminho.pt * http://gsd.di.uminho.pt/~jpo *
* gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *




More information about the fedora-extras-list mailing list