File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Java in General
Monitoring log file per hour basic
Joined: Jul 14, 2008
May 03, 2010 00:55:29
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 ?
I agree. Here's the link:
subject: Monitoring log file per hour basic
Strange Log4j problem. Help wanted.
reading from the end of file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015