From 33897c99440a921d3da114b3a47d55444656a0a0 Mon Sep 17 00:00:00 2001 From: Mike Palmiotto Date: Mon, 20 Mar 2023 18:52:27 -0400 Subject: [PATCH] activitylog: Fix pq.Get trace logger output --- vault/activity/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault/activity/query.go b/vault/activity/query.go index c43f156632d4..5541cea12a34 100644 --- a/vault/activity/query.go +++ b/vault/activity/query.go @@ -248,7 +248,7 @@ func (s *PrecomputedQueryStore) Get(ctx context.Context, startTime, endTime time s.logger.Trace("updating closest times") } } - s.logger.Trace("chose start end end times", "startTime", closestStartTime, "endTime") + s.logger.Trace("chose start/end times", "startTime", closestStartTime, "endTime", closestEndTime) if closestStartTime.IsZero() || closestEndTime.IsZero() { s.logger.Warn("no start or end time in range", "start time", closestStartTime, "end time", closestEndTime)