Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 ?
It is sorta covered in the
JavaRanch Style Guide
Strange Log4j problem. Help wanted.
reading from the end of file