diff options
author | Erik Johnston <erik@matrix.org> | 2022-09-07 16:56:13 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2022-09-09 15:10:52 +0100 |
commit | e6a11bde38ada873f4a6a2f8d7794b29151657cd (patch) | |
tree | b8f385e22d6f2730639ea51400b47650b0914a8c | |
parent | Fixup (diff) | |
download | synapse-e6a11bde38ada873f4a6a2f8d7794b29151657cd.tar.xz |
Revert debug logging
-rw-r--r-- | synapse/push/bulk_push_rule_evaluator.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py index 21e41c07cd..339706a95d 100644 --- a/synapse/push/bulk_push_rule_evaluator.py +++ b/synapse/push/bulk_push_rule_evaluator.py @@ -159,14 +159,14 @@ class BulkPushRuleEvaluator: rules_by_user = await self.store.bulk_get_push_rules(local_users) - # logger.debug("Users in room: %s", local_users) - - # if logger.isEnabledFor(logging.DEBUG): - # logger.debug( - # "Returning push rules for %r %r", - # event.room_id, - # list(rules_by_user.keys()), - # ) + logger.debug("Users in room: %s", local_users) + + if logger.isEnabledFor(logging.DEBUG): + logger.debug( + "Returning push rules for %r %r", + event.room_id, + list(rules_by_user.keys()), + ) return rules_by_user |