Skip to content
Advertisement

Tag: randomaccessfile

Reading a log file which gets rolled over

I am trying to use a simple program to read from a log file. The code used is as follows: The code works well for new lines being added to the log file but it does not replicate the rollover process. i.e. when the content of the log file is cleared I expect the java console to continue reading text

Advertisement