diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-10-31 15:42:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 15:42:23 +0000 |
commit | 9b827c40ca71510390c92472f7ec5cfcff9e69b2 (patch) | |
tree | 5bec0a2adefc1190b24e0dd44d1cdf113956549e /synapse/handlers/message.py | |
parent | Merge pull request #4124 from matrix-org/rav/fix_tox (diff) | |
download | synapse-9b827c40ca71510390c92472f7ec5cfcff9e69b2.tar.xz |
Log some bits about event creation (#4121)
I found these helpful in debugging my room upgrade tests.
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 969e588e73..a7cd779b02 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -427,6 +427,9 @@ class EventCreationHandler(object): if event.is_state(): prev_state = yield self.deduplicate_state_event(event, context) + logger.info( + "Not bothering to persist duplicate state event %s", event.event_id, + ) if prev_state is not None: defer.returnValue(prev_state) |