Add log parser

It supports multi-line message.