Allow plugins to write to STDOUT

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire
2015-11-06 18:21:38 -08:00
parent b0f687b1b8
commit b92a6fd3ce

View File

@@ -193,7 +193,7 @@ func (lbp *LocalBinaryPlugin) execServer() error {
for {
select {
case out := <-stdOutCh:
log.Debug(fmt.Sprintf(pluginOutPrefix, lbp.MachineName), out)
log.Info(fmt.Sprintf(pluginOutPrefix, lbp.MachineName), out)
case err := <-stdErrCh:
log.Debug(fmt.Sprintf(pluginErrPrefix, lbp.MachineName), err)
case _ = <-lbp.stopCh: