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

Re: Log rotation

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


  Matthew Daubenspeck

Reply to: