http://www.perlmonks.org?node_id=106909


in reply to Re: Removing old records from log files
in thread Removing old records from log files

This log file is in fact an extract of a much larger log file. I do the extraction so that the bare minimum (!) is kept in this file so that it is available to other processes, and archive the originals. It is not possible to rotate this 'extract' log file, but as it updates every 6 hours I do not run into problems with file locking while I trim it, as I ensure that the two do not overlap.

  • Comment on Re: Re: Removing old records from log files