On Fri, Jun 13, 2008 at 8:40 AM, Cao, Lixia <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a question on the -tail option when using sec.pl.
>
> If I have the log file open, now run the sec.pl script, the script will
> wait for input. Modify the log file, say, append a line at the end of
> file, then run sec.pl again, the output will show the following:
>
> Input file /apollo/staging/router/scripts/automation/test.log has been
> recreated
> Shuffled /apollo/staging/router/scripts/automation/test.log, reopening
> and processing from the start
>
> Then it will write all matches of the entire file.
How are you appending text?

Try something like this:
echo "a line that will match your rules" >> logfile

Sec shouldn't re-read the entire file from my experience with it.


>
> Question:
>
> Shouldn't the script only output what's been added? Meaning, why it
> thinks the file has been recreated?

-- 
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to