From 6ff63c5c695442afc6259fae42f067d4cc34b910 Mon Sep 17 00:00:00 2001 From: Coleen Iona Quadros Date: Tue, 5 Sep 2023 17:42:25 +0200 Subject: [PATCH] use existing func Signed-off-by: Coleen Iona Quadros --- interceptors/logging/logging.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/interceptors/logging/logging.go b/interceptors/logging/logging.go index 51ddc1d6d..53eb1ce20 100644 --- a/interceptors/logging/logging.go +++ b/interceptors/logging/logging.go @@ -39,13 +39,7 @@ func newCommonFields(kind string, c interceptors.CallMeta) Fields { } func customCommonFields(kind string, c interceptors.CallMeta, customFields []string) Fields { - commonFields := Fields{ - SystemTag[0], SystemTag[1], - ComponentFieldKey, kind, - ServiceFieldKey, c.Service, - MethodFieldKey, c.Method, - MethodTypeFieldKey, string(c.Typ), - } + commonFields := newCommonFields(kind, c) newFields := Fields{} for _, key := range customFields {