newsyslog naming scheme could be improved?
"Kelly Jones" <[email protected]> Sat, 11 Oct 2008 09:33:42 -0700
| Newsgroups | gmane.org.user-groups.nmlug |
|---|---|
| Message-ID | <26face530810110933o1403705o625586ac53b309fb__18058.1740024083$1223742931$gmane$org@mail.gmail.com> |
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