[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Log rotation

Matthew Daubenspeck wrote:
On Tue, Apr 01, 2003 at 01:44:24PM -0500, Derrick 'dman' Hudson wrote:

It can.  Just be sure to anchor the glob.  For example, using
"/var/log/samba/smb*" is really bad because the first rotated file
(smb_foo.1) will match as well.  The above anchor with "*.log"
prevents "<...>log.1" from matching.

This is where I run into the problem. The files do not have a .log
extension. They are in the format of MM.DD.YYYY

Then anchor appropriatelly:




Rich Puhek
ETN Systems Inc.
2125 1st Ave East
Hibbing MN 55746

tel:   218.262.1130
email: rpuhek@etnsystems.com

Reply to: