added comments/documentation for LogGatherer.java