Re: weird log file rotation?
On Sat, Dec 08, 2001 at 11:41:18AM +1100, Brian May wrote:
> snoopy:unstable:/var/log# ls -ltd mail.log*
> -rw-r----- 1 root adm 1724416 Dec 8 09:35 mail.log
> -rw-r----- 1 root adm 899 Dec 2 06:47 mail.log.0
> -rw-r----- 1 root adm 1240223 Dec 2 06:30 mail.log.2
> -rw-r----- 1 root adm 907 Nov 25 06:47 mail.log.1.gz
> -rw-r----- 1 root adm 331 Nov 18 06:47 mail.log.2.gz
> -rw-r----- 1 root adm 118538 Nov 11 06:47 mail.log.3.gz
>
> etc
>
> what is going on here? Whose fault is it? Why are there no *.1 files?
There have been some strange things happening with logrotate lately. On my
system, nothing is rotated to .0 anymore, it goes straight to .1. So I had
.0 logfiles from months ago, and .1 was the most recently rotated version.
I recently removed the .0 files because they were confusing, e.g., logcheck.
I have no idea how this happened.
--
- mdz
Reply to: