|
From: Collin S. <col...@co...> - 2002-09-10 16:31:57
|
tir, 2002-09-10 kl. 09:26 skrev xavier renaut:
> as you can see, it's missing a lot of them.
>
> any idea on how to fix that problem ?
I made another pass and I think I located the problem:
In logparser:
124 &tail($client,$conf,$filetail->read) unless $filetail->predict;
The read only returns one line. So I think I need to do something like:
if (not $filetail->predict) {
my ($line,@lines);
push @lines, $line while $line = $filetail->read;
&tail($client,$conf,@lines);
}
then adjust the tail method to take an array of lines.
I'll test it using your example this evening and make sure that's in
fact the problem.
Regards,
-Collin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Collin Starkweather http://www.collinstarkweather.com
Consulting Software Engineer col...@co...
Ph.D. Candidate University of Colorado Department of Economics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|