From 77b729d4ba7e5f62441d249e700e8a0a1553a2ca Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 12 Oct 2016 14:40:26 +0100 Subject: [PATCH] Remove spammy logs --- src/github.com/matrix-org/go-neb/matrix/matrix.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/github.com/matrix-org/go-neb/matrix/matrix.go b/src/github.com/matrix-org/go-neb/matrix/matrix.go index d2e318b..0214a18 100644 --- a/src/github.com/matrix-org/go-neb/matrix/matrix.go +++ b/src/github.com/matrix-org/go-neb/matrix/matrix.go @@ -254,7 +254,6 @@ func (cli *Client) Sync() { processResponse := cli.shouldProcessResponse(nextToken, &syncResponse) nextToken = syncResponse.NextBatch - logger.WithField("next_batch", nextToken).Print("Received sync response") // Save the token now *before* passing it through to the worker. This means it's possible // to not process some events, but it means that we won't get constantly stuck processing @@ -405,11 +404,6 @@ func (cli *Client) doSync(timeout int, since string) ([]byte, error) { query["filter"] = cli.filterID } urlPath := cli.buildURLWithQuery([]string{"sync"}, query) - log.WithFields(log.Fields{ - "since": since, - "timeout": timeout, - "user_id": cli.UserID, - }).Print("Syncing") res, err := http.Get(urlPath) if err != nil { return nil, err