mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
Logging
This commit is contained in:
parent
816e1a402b
commit
23ce334182
|
@ -194,6 +194,7 @@ func (s *OutputRoomEventConsumer) onNewRoomEvent(
|
|||
sentry.CaptureException(err)
|
||||
return err
|
||||
}
|
||||
log.Infof("onNewRoomEvent -> %d: %+v", pduPos, msg)
|
||||
|
||||
s.pduStream.Advance(pduPos)
|
||||
s.notifier.OnNewEvent(ev, ev.RoomID(), nil, types.StreamingToken{PDUPosition: pduPos})
|
||||
|
|
|
@ -244,6 +244,7 @@ func (rp *RequestPool) OnIncomingSyncRequest(req *http.Request, device *userapi.
|
|||
),
|
||||
}
|
||||
}
|
||||
syncReq.Log.Infof("%s->%s : %+v", syncReq.Since, syncReq.Response.NextBatch, syncReq.Response)
|
||||
|
||||
return util.JSONResponse{
|
||||
Code: http.StatusOK,
|
||||
|
|
Loading…
Reference in a new issue