in reply to Removing old records from log files
NON-perl: I recall in *nix copying the whole file into a new one (filename.0), then something like echo /dev/null > filename. Finally, I'd gzip or bzip2 the logfile.0. YMMV.
HTH
--
idnopheq
Apply yourself to new problems without preparation, develop confidence in your ability to to meet situations as they arrise.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Removing old records from log files
by claree0 (Hermit) on Aug 22, 2001 at 14:28 UTC |