|
From: xavier r. <xa...@ha...> - 2002-09-10 17:16:49
|
On Tue, Sep 10, 2002 at 10:47:08AM -0600, Collin Starkweather wrote:
|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.
cool, i'm waiting for your commit.
(do we want a mailing list for the commits which would send a mail for every commit
with the files modified and the logs ?)
bye
--
xavier
|