diff --git a/server/service/service.go b/server/service/service.go index b6802ee..5241a50 100644 --- a/server/service/service.go +++ b/server/service/service.go @@ -172,7 +172,7 @@ func (s *Service) GetBootstrapData(ctx context.Context, req *bpb.GetBootstrapDat if err != nil { return nil, err } - log.Infof("Received GetBootstrapData request from %v", peerAddr) + log.Infof("Received GetBootstrapData request(%+v) from %v", req, peerAddr) fixedChasis := true ccSerial := "" chassisDesc := req.GetChassisDescriptor() @@ -266,6 +266,11 @@ func (s *Service) ReportStatus(ctx context.Context, req *bpb.ReportStatusRequest log.Infof("=============================================================================") log.Infof("========================== Status report received ===========================") log.Infof("=============================================================================") + peerAddr, err := peerAddressFromContext(ctx) + if err != nil { + return nil, err + } + log.Infof("Received ReportStatus request(%+v) from %v", req, peerAddr) return &bpb.EmptyResponse{}, s.em.SetStatus(ctx, req) }