diff --git a/as-controller-board-status/functions/output.go b/as-controller-board-status/functions/output.go index f3a339c..71f29e9 100644 --- a/as-controller-board-status/functions/output.go +++ b/as-controller-board-status/functions/output.go @@ -269,24 +269,24 @@ func (boardStatus *CheckBoardStatus) SendCommand(lc logger.LoggingClient, action switch actionName { case http.MethodPut: - lc.Infof("executing %s action", actionName) - lc.Infof("Issuing SET command '%s' for device '%s'", commandName, deviceName) + lc.Debugf("executing %s action", actionName) + lc.Debugf("Issuing SET command '%s' for device '%s'", commandName, deviceName) response, err := boardStatus.CommandClient.IssueSetCommandByName(context.Background(), deviceName, commandName, settings) if err != nil { return fmt.Errorf("failed to issue '%s' set command to '%s' device: %s", commandName, deviceName, err.Error()) } - lc.Infof("response status: %d", response.StatusCode) + lc.Debugf("response status: %d", response.StatusCode) case http.MethodGet: - lc.Infof("executing %s action", actionName) - lc.Infof("Issuing GET command '%s' for device '%s'", commandName, deviceName) + lc.Debugf("executing %s action", actionName) + lc.Debugf("Issuing GET command '%s' for device '%s'", commandName, deviceName) response, err := boardStatus.CommandClient.IssueGetCommandByName(context.Background(), deviceName, commandName, false, true) if err != nil { return fmt.Errorf("failed to issue '%s' get command to '%s' device: %s", commandName, deviceName, err.Error()) } - lc.Infof("response status: %d", response.StatusCode) + lc.Debugf("response status: %d", response.StatusCode) default: return errors.New("Invalid action requested: " + actionName) diff --git a/as-controller-board-status/res/configuration.yaml b/as-controller-board-status/res/configuration.yaml index a33db10..2a15144 100644 --- a/as-controller-board-status/res/configuration.yaml +++ b/as-controller-board-status/res/configuration.yaml @@ -15,6 +15,11 @@ Clients: Host: localhost Port: 59860 + core-command: + Protocol: "http" + Host: "localhost" + Port: 59882 + MessageBus: Optional: ClientId: as-controller-board-status