Allow plugins to write to STDOUT
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user