diff --git a/control/plugin/session.go b/control/plugin/session.go index 11a7d61c3..9d593af1d 100644 --- a/control/plugin/session.go +++ b/control/plugin/session.go @@ -134,7 +134,7 @@ func (s *SessionState) Kill(args []byte, reply *[]byte) error { if err != nil { return err } - s.logger.Debug("Kill called by agent, reason: %s\n", a.Reason) + s.logger.Debugf("Kill called by agent, reason: %s\n", a.Reason) go func() { time.Sleep(time.Second * 2) s.killChan <- 0