Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Remove spammy logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Oct 12, 2016
1 parent 5f015e2 commit 77b729d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/github.com/matrix-org/go-neb/matrix/matrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 77b729d

Please sign in to comment.