Re: newsyslog naming scheme could be improved?

2008-10-14 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Walt Pawley wrote: | At 9:33 AM -0700 10/11/08, Kelly Jones wrote: | newsyslog rotates logfiles so that messages.0.gz is yesterday's file, | messages.1.gz is the day before's, etc. | | This is ugly. | | IMHO, this is worse than merely ugly. I

Re: newsyslog naming scheme could be improved?

2008-10-13 Thread Walt Pawley
At 9:33 AM -0700 10/11/08, Kelly Jones wrote: newsyslog rotates logfiles so that messages.0.gz is yesterday's file, messages.1.gz is the day before's, etc. This is ugly. IMHO, this is worse than merely ugly. I gave up rotating log files a long time ago when I kept running into problems that

Re: newsyslog naming scheme could be improved?

2008-10-12 Thread andrew clarke
On Sat 2008-10-11 14:58:39 UTC-0400, Garance A Drosehn ([EMAIL PROTECTED]) wrote: It would be bad to change the default behavior, but there have been several people who wished for some option for newsyslog which would make it use some alternate naming scheme. There's at least one PR about

newsyslog naming scheme could be improved?

2008-10-11 Thread Kelly Jones
newsyslog rotates logfiles so that messages.0.gz is yesterday's file, messages.1.gz is the day before's, etc. This is ugly. If I tell my fellow sysadmins that I ran this command: zfgrep 'bad thing' /var/log/messages.4.gz and found stuff, they may run it the next day and get different results

Re: newsyslog naming scheme could be improved?

2008-10-11 Thread Jeremy Chadwick
On Sat, Oct 11, 2008 at 09:33:42AM -0700, Kelly Jones wrote: newsyslog rotates logfiles so that messages.0.gz is yesterday's file, messages.1.gz is the day before's, etc. This is ugly. If I tell my fellow sysadmins that I ran this command: zfgrep 'bad thing' /var/log/messages.4.gz and

Re: newsyslog naming scheme could be improved?

2008-10-11 Thread Doug Hardie
On Oct 11, 2008, at 09:46, Jeremy Chadwick wrote: On Sat, Oct 11, 2008 at 09:33:42AM -0700, Kelly Jones wrote: newsyslog rotates logfiles so that messages.0.gz is yesterday's file, messages.1.gz is the day before's, etc. This is ugly. If I tell my fellow sysadmins that I ran this command:

Re: newsyslog naming scheme could be improved?

2008-10-11 Thread Garance A Drosehn
At 9:33 AM -0700 10/11/08, Kelly Jones wrote: ...but has anyone considered tweaking newsyslog to name files messages.2008-10-05-12-00-00.gz or something. IE, give them a constant name that doesn't change and then delete them after how many ever days? It would be bad to change the default