This is to ensure that we are not just logging "stuff" but that the log messages clearly relay both the state of the build and any errors we encounter.
Fortunately logrus prints nicely-formatted JSON messages, but it will be important to clearly define what fields are expected to be found in which log messages. Basically, we want an api for how to parse the docker-builder logs.
This is to ensure that we are not just logging "stuff" but that the log messages clearly relay both the state of the build and any errors we encounter.
Fortunately
logrus
prints nicely-formatted JSON messages, but it will be important to clearly define what fields are expected to be found in which log messages. Basically, we want an api for how to parse thedocker-builder
logs.