Skip to content

Commit 7e3e03f

Browse files
committed
Tone down some log messages
1 parent 059fca5 commit 7e3e03f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/syncablesync/mattermostservice.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ func (m *Mattermost) FetchGroupsAndSyncables(ctx context.Context) ([]Group, erro
178178
}
179179
for _, ch := range allChannels {
180180
chInfo := channelInfo[ch.Id]
181-
l.WithField("channel", ch).WithField("channelInfo", chInfo).Info("channel")
182181
if chInfo == nil {
183182
continue
184183
}
@@ -373,10 +372,6 @@ func (m *Mattermost) ensureCredentials(ctx context.Context) error {
373372
ExpiresAt: now.Add(6 * time.Hour).UnixMilli(),
374373
}
375374
sess.GenerateCSRF()
376-
// XXX
377-
l := ctxlog.FromContext(ctx)
378-
l.WithField("sess", sess).WithField("user", u).Info("creating session")
379-
// XXX
380375
sess, appErr := m.API.CreateSession(sess)
381376
if appErr != nil {
382377
return fmt.Errorf("CreateSession for system bot: %w", appErr)

0 commit comments

Comments
 (0)