From 88136404435699a6d1e36db6b948f387fb248e07 Mon Sep 17 00:00:00 2001 From: tyler <48813565+technicallyty@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:33:15 -0800 Subject: [PATCH] fix structured logging format --- server/v2/api/grpcgateway/interceptor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/v2/api/grpcgateway/interceptor.go b/server/v2/api/grpcgateway/interceptor.go index f224ac237921..9bb0b7ac06bf 100644 --- a/server/v2/api/grpcgateway/interceptor.go +++ b/server/v2/api/grpcgateway/interceptor.go @@ -232,7 +232,7 @@ func createRegexMapping(logger log.Logger, annotationMapping map[string]string) } else { // TODO: eventually we want this to error, but there is currently a duplicate in the protobuf. // see: https://github.com/cosmos/cosmos-sdk/issues/23281 - logger.Warn("duplicate HTTP annotation found %q and %q. query will resolve to %q", annotation, otherAnnotation, queryInputName) + logger.Warn("duplicate HTTP annotation found", "annotation1", annotation, "annotation2", otherAnnotation, "query_input_name", queryInputName) } regexQueryMD[reg] = queryMetadata{ queryInputProtoName: queryInputName,