use Optional<> in LogParser