Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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.




  • Comment on Re: Removing old records from log files

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://139239]
[erix]: I recognise the makings of a fine argument
[LanX]: lanx wonders ... how likely is it to talk >95% BS without intention?
[erix]: "gigantic amounts of data" is also not SQLite (imho)
talexb wonders why sqlite2 was deprecated in favour of sqlite3.
[erix]: looks like a fork, rather, no?
LanX /me /me
[erix]: /hehehe
[marto]: LanX yesterday I found out about Gish gallop tactic

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2017-07-28 15:35 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (431 votes). Check out past polls.