Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: removing lines from a file

by ministry (Scribe)
on Jun 23, 2005 at 10:27 UTC ( [id://469406]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: removing lines from a file
in thread removing lines from a file

The FIFO idea seems to be the best solution for me here. I can point my application to write to a FIFO pipe, and just disregard all lines I would have previously tried to remove. As far as the log rotation; it seems as though it would be as simple as a 'real-time' rotation. Meaning I would base the logfile output on the time/date stamp prefixing each of the incoming lines. Then create new files on the fly based on those metrics. Would an idea like this be the best solution for my problem?

cheers, Ev

Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://469406]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.