Minor LogsBase refactoring for main method responsible for log parsing.