Oops, did it again.. sorry for the offlist copy of this Dirk.. Dirk.Laurenz@fujitsu-siemens.com wrote:
Hi,
it's just this growing names and zero length files: -rw-r----- 1 domainadmin root 0 2005-08-24 04:15 kernel-20050823.gz -rw-r----- 1 domainadmin root 0 2005-08-25 04:15 kernel-20050823.gz-20050824.gz -rw-r----- 1 domainadmin root 0 2005-08-26 04:15 kernel-20050823.gz-20050824.gz-20050825.gz -rw-r----- 1 domainadmin root 0 2005-08-27 04:15 kernel-20050823.gz-20050824.gz-20050825.gz-20050826.gz -rw-r----- 1 domainadmin root 0 2005-08-28 04:15 kernel-20050823.gz-20050824.gz-20050825.gz-20050826.gz-20050827.gz -rw-r----- 1 domainadmin root 0 2005-08-29 04:15 kernel-20050823.gz-20050824.gz-20050825.gz-20050826.gz-20050827.gz-20050828.gz -rw-r----- 1 domainadmin root 0 2005-08-30 04:15 kernel-20050823.gz-20050824.gz-20050825.gz-20050826.gz-20050827.gz-20050828.gz-20050829.gz
-| -----Original Message----- -| From: Darryl Gregorash [mailto:raven@accesscomm.ca] -| Sent: Friday, September 02, 2005 2:26 AM -| To: suse-linux-e@suse.com -| Subject: Re: [SLE] logrotate -| -| Dirk.Laurenz@fujitsu-siemens.com wrote: -| >Hi, -| > -| >how do i avoid this in /var/log/syslog/ -| It would help if you would tell us just what it is you wish -| to avoid. -| -| At the top of /etc/logrotate.conf it says "# see "man logrotate" for -| details" -|
Get rid of this -- /var/log/syslog/* -- in your configuration file, or use an "olddir" directive as Jorge suggested. "man logrotate" says this: "Please use wildcards with caution. If you specify *, logrotate will rotate all files, including previously rotated ones. A way around this is to use the olddir directive or a more exact wildcard (such as *.log)."