good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: file state mannagmentby Eyck (Priest) |
on Feb 05, 2009 at 13:17 UTC ( [id://741540]=note: print w/replies, xml ) | Need Help?? |
You do it like this:
this way, everything that is logging, will keep on logging into it's open filedescriptor (ie - the new data will go into .tmp file). The problem is - how long are your external logging processing keeping their logfile descriptors open, the key part being - are they keeping their descriptors opened indefinitely? Then you're out of luck and can't really do what you're trying to achieve. If their logging method is then the method described above would work OK.
In Section
Seekers of Perl Wisdom
|
|