error: syslog-ng:68 duplicate log entry for /var/log/xferlog

Paweł Gołaszewski blues at pld-linux.org
Wed Aug 10 11:18:08 CEST 2005


On Mon, 1 Aug 2005, Elan [iso-8859-13] Ruusamäe wrote:
> > > how this got resolved? because i seem to have same conflict between 
> > > syslog and proftpd.
> > >
> > > # grep xferlog /etc/logrotate.d/*
> > > /etc/logrotate.d/ftpd:/var/log/xferlog {
> > > /etc/logrotate.d/syslog:/var/log/xferlog {
> > > # rpm -qf ftpd syslog
> > > proftpd-common-1.2.10-5
> > > syslog-1.4.1-13.2
> > Should be removed from proftpd, IMO. xferlog i a common thing.
> although the question remains, who writes the log? syslog? or proftpd? 
> if it's syslogd, then yes, rotation should be in syslog package but if 
> it's proftpd writing it directly, then it should be in proftpd package. 
> but in latter case i believe proftpd should be reconfigured to use 
> differeng logfile.

IMO - every daemon should write to syslog.
You can then separate logs into files you want. And send to remote 
syslog...

-- 
pozdr.  Paweł Gołaszewski jid:blues<at>jabber<dot>gda<dot>pl 
-------------------------------------------------------------------------- 
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby 
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list