Register / Login
Java in General
Monitoring log file per hour basic
posted 5 years ago
I need to read log file every hour to find an ERROR/Server logs, in my next hour I need to read new logs, which have appended to the file.
I am using BefferedReader, Is this useful for this scenario?
How Do I remember till which line I completed reading, from which line I need to start reading in my new hour ?
Can some one please give me some light on this?
Thanks in advance
SCJP 5 |SCWCD 5| Started thinking about Web Services ?
Strange Log4j problem. Help wanted.
reading from the end of file