Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Consuming an increasing file with Java

User_4MPMNFeb 17 2021

Hi all,
I have to write a java program which have to parse an Apache log. As the Apache log grows continuously throughout the day I would like the java program listens continuously any new record in the log so I can parse it at real time. (I don't want to start to parse the log everytime from the beginning).
Any suggestions ?
Thanks in advance
Lele

Comments

Post Details

Added on Feb 17 2021
2 comments
129 views