From d56f586ef3177528ba6d9ae6a926516047e69b40 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 4 Mar 2024 17:18:08 +0100 Subject: [PATCH] beacon/light/api: update log messages --- beacon/light/api/api_server.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/beacon/light/api/api_server.go b/beacon/light/api/api_server.go index cd3e0e6dbe..65ab00b24b 100755 --- a/beacon/light/api/api_server.go +++ b/beacon/light/api/api_server.go @@ -67,18 +67,18 @@ func (s *ApiServer) SendRequest(id request.ID, req request.Request) { var err error switch data := req.(type) { case sync.ReqUpdates: - log.Debug("Requesting light client update", "reqid", id, "period", data.FirstPeriod, "count", data.Count) + log.Debug("Beacon API: requesting light client update", "reqid", id, "period", data.FirstPeriod, "count", data.Count) var r sync.RespUpdates r.Updates, r.Committees, err = s.api.GetBestUpdatesAndCommittees(data.FirstPeriod, data.Count) resp = r case sync.ReqHeader: - log.Debug("Requesting beacon header", "reqid", id, "hash", common.Hash(data)) + log.Debug("Beacon API: requesting header", "reqid", id, "hash", common.Hash(data)) resp, err = s.api.GetHeader(common.Hash(data)) case sync.ReqCheckpointData: - log.Debug("Requesting beacon checkpoint data", "reqid", id, "hash", common.Hash(data)) + log.Debug("Beacon API: requesting checkpoint data", "reqid", id, "hash", common.Hash(data)) resp, err = s.api.GetCheckpointData(common.Hash(data)) case sync.ReqBeaconBlock: - log.Debug("Requesting beacon block", "reqid", id, "hash", common.Hash(data)) + log.Debug("Beacon API: requesting block", "reqid", id, "hash", common.Hash(data)) resp, err = s.api.GetBeaconBlock(common.Hash(data)) default: }