Jalore is a java library that can help you to read logs generated by programs.
It was firstly designed to read logs generated by log4j but it can also be used to read other kind of logs like Apache httpd logs using regular expressions.
Read the user guide to know how to use Jalore.