Possible Duplicate:
How do I use Java to read from a file that is actively being written?
I have a program(Trap reciever) which appends a string to the end of a file. This program basically logs everything it does.
I want my program to read of that log file. What problems can i face doing this and what is the most efficient way to do this. Reading a file while another process updates it.