Skip to content

Commit

Permalink
Don't include chat info in every log line when syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Feb 29, 2024
1 parent 2b41398 commit e9ec6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e9ec6b5

Please sign in to comment.