Fix logging in the command-runner.

Bugs closed: aurora-503

Reviewed at https://reviews.apache.org/r/22233/