optimize the log parsing
print error if matcher fails