make parseLog() public to make it testable without a VCS