Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

include platform tag in publish controller logs #1560

Merged
merged 1 commit into from
Sep 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/publish/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ func (s *Server) process(ctx context.Context, data *verifyapi.Publish, platform
defer obs.RecordLatency(ctx, time.Now(), mLatencyMs, &blame, &obsResult)

logger := logging.FromContext(ctx).Named("process").
With("health_authority_id", data.HealthAuthorityID)
With("health_authority_id", data.HealthAuthorityID).
With("platform", platform)

logger.Info("publish API request")

Expand Down