update log format.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-05-10 16:42:37 +08:00
parent f81056261d
commit efdac217bd
No known key found for this signature in database
GPG Key ID: 0F84B2110C500B1F

View File

@ -96,9 +96,9 @@ func (p Plugin) Exec() error {
case isTimeout = <-doneChan:
stillGoing = false
case outline := <-stdoutChan:
p.log(host, "outputs:", outline)
p.log(host, "out:", outline)
case errline := <-stderrChan:
p.log(host, "errors:", errline)
p.log(host, "err:", errline)
case err = <-errChan:
}
}