I want to write a tool with Java to monitor a log file which is on the production server, and the log file is increasing from time to time.
The tool will get each new appended line from the log file, parse it and do something.
Is it possible to reading data from a live log file? If yes, how to do that?