Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Removing old records from log files

by BazB (Priest)
on Jan 16, 2002 at 20:44 UTC ( #139239=note: print w/ replies, xml ) Need Help??


in reply to Removing old records from log files

Not to put a stopper on some rather nice code, but if you're running a UNIX system (which I suspect you are), what about just using the logrotate command?

Rotate files on a hourly basis and be done with it! You can delete the old records, or just store them on disk.

If you're on Windows, Perl might be easier.

TMTOMTDI :-)

Cheers.

BazB.


Comment on Re: Removing old records from log files

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://139239]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-07-30 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls