mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-10 07:04:24 +00:00
Logging
This commit is contained in:
parent
816e1a402b
commit
23ce334182
2 changed files with 2 additions and 0 deletions
|
@ -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