Fix log parser.

The log is an array of header+log content. The header is used the tag the source of the lines (stdout or stderr).

Docker doc explain how to parse it.
https://docs.docker.com/reference/api/docker_remote_api_v1.15/#attach-to-a-container