Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Advanced-java] simulate Unix tail -f function


  • From: karenshiau@xxxxxxxxxx (Karen Shiau)
  • Subject: [Advanced-java] simulate Unix tail -f function
  • Date: Mon, 22 Apr 2002 09:52:36 -0400

I have an application which will read log files from other 
apps, and grep "ERROR" or "WARNING" on those log files.  
However, the new log text is keep coming and appending to the 
end of files.  How can I simulate the functionality of Unix 
tail -f command on Java?

Any hint or direction is much appreciated.

Thanks

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag