vphomealone
vphomealone

Reputation: 163

Web Log analysis in Java

How to read a web server log file in Java. This file is getting updated all the time. If I open a new FileInputStream, will it read the log real time?

Regards

Upvotes: 3

Views: 2541

Answers (1)

Vinko Vrsalovic
Vinko Vrsalovic

Reputation: 340311

Here is a solution based on RandomAccessFile:

http://www.informit.com/guides/content.aspx?g=java&seqNum=226

Upvotes: 4

Related Questions