Re: newsyslog naming scheme could be improved?

"Ed Heron" <[email protected]> Mon, 27 Oct 2008 11:51:13 -0600
Newsgroups gmane.org.user-groups.nmlug
Message-ID <00b801c9385c$9b9e2870$4708a8c0@Zoe>
  What process does newsyslog use for rotating your log file(s)?

----- Original Message ----- 
From: "Kelly Jones" <[email protected]>
To: <[email protected]>; <[email protected]>; 
<[email protected]>; <[email protected]>
Sent: Saturday, October 11, 2008 10:33 AM
Subject: [NMLUG] newsyslog naming scheme could be improved?


> 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 because the file is now messages.5.gz
>
> Improving my cow-orkers intelligence would be the ideal solution, 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?
>
> -- 
> We're just a Bunch Of Regular Guys, a collective group that's trying
> to understand and assimilate technology. We feel that resistance to
> new ideas and technology is unwise and ultimately futile.
> _______________________________________________
> NMLUG mailing list
> [email protected]
> http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug
> 

_______________________________________________
NMLUG mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug