aspose file tools*
The moose likes Java in General and the fly likes Monitoring log file per hour basic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Monitoring log file per hour basic" Watch "Monitoring log file per hour basic" New topic
Author

Monitoring log file per hour basic

Amruth Puppala
Ranch Hand

Joined: Jul 14, 2008
Posts: 295
Hi,

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: http://aspose.com/file-tools
 
subject: Monitoring log file per hour basic