Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Lower loading events log to DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jan 17, 2017
1 parent 37b4c7d commit 4ec1cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/storage/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -1084,10 +1084,10 @@ def _enqueue_events(self, events, check_redacted=True, allow_rejected=False):
self._do_fetch
)

logger.info("Loading %d events", len(events))
logger.debug("Loading %d events", len(events))
with PreserveLoggingContext():
rows = yield events_d
logger.info("Loaded %d events (%d rows)", len(events), len(rows))
logger.debug("Loaded %d events (%d rows)", len(events), len(rows))

if not allow_rejected:
rows[:] = [r for r in rows if not r["rejects"]]
Expand Down

0 comments on commit 4ec1cf4

Please sign in to comment.