From e9ec6b5e6438ec42e7a7093261dd29e677fcfade Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 29 Feb 2024 17:35:37 +0200 Subject: [PATCH] Don't include chat info in every log line when syncing --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index 8a2632c..d097e5d 100644 --- a/user.go +++ b/user.go @@ -1029,8 +1029,8 @@ func (user *User) syncConversation(v *gmproto.Conversation, source string) { Str("action", "sync conversation"). Str("conversation_status", updateType.String()). Str("data_source", source). - Interface("conversation_data", convCopy). Logger() + log.Debug().Any("conversation_data", convCopy).Msg("Got conversation update") ctx := log.WithContext(context.TODO()) if cancel := portal.cancelCreation.Load(); cancel != nil { if updateType == gmproto.ConversationStatus_SPAM_FOLDER || updateType == gmproto.ConversationStatus_BLOCKED_FOLDER {