Re: Why change from syslog-ng to rsyslog?

KP Kirchdoerfer via leaf-user <[email protected]>
Newsgroups gmane.linux.leaf.user
Message-ID <d6d98d0e24916cde0fc24808043d728813618561.camel@users.sourceforge.net>
On Fr, 2021-05-14 at 11:22 +0100, John Sager wrote:
> So I've fixed up to use rsyslog - I have rules to log firewall-related
> stuff 
> (I'm not using shorewall) into a separate file and it turned out to be
> just 
> a 2-line addition to rsyslog.conf. However I also found a couple of
> issues 
> with logrotate:
> 
> 1) The script /usr/bin/logrotate is old and assumes the log file group
> to be 
> 'wheel' but rsyslog uses 'adm'. I fixed that with a 'GROUP' variable in
> logrotate.d/syslog but perhaps the script ought to be updated.
> 
Ok, I fixed it there.


> 2) logrotate.d/syslog still assumes the log daemon to be syslog-ng.
> 

Are you shure? I see 
# DAEMON - restart this service after logrotation                     
DAEMON=rsyslog

in git.

kp 

> regards,
> 
> John
> 
> On 13/05/2021 10:27, John Sager wrote:
> > I've just moved to 7.0.2 from a series 6 and I suddenly find my
> > logging 
> > setup is no more. Why was the change made?
> > 
> > The main reason for upgrading was to test out using nftables instead
> > of 
> > iptables, and I have managed to build nftables 0.9.8 to work with
> > 7.0.2 (had 
> > to upgrade libnftnl to 1.1.9 too).
> > 
> > Looks like I'll have to regress to the previous version until I can
> > translate my syslog-ng setup into rsyslog. There don't seem to be any
> > ready-made translators that I can find:(
> > 
> > regards,
> > 
> > John Sager
> > 
> > 
> > ---------------------------------------------------------------------
> > ---
> > leaf-user mailing list: [email protected]
> > https://lists.sourceforge.net/lists/listinfo/leaf-user
> > Support Request -- http://leaf-project.org/
> 
> 
> -----------------------------------------------------------------------
> -
> leaf-user mailing list: [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/




------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.