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
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
reading from the end of file
Strange Log4j problem. Help wanted.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014