Implement a part to read log. (#7)