summary refs log tree commit diff
path: root/synapse/push/httppusher.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-24 21:06:54 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-29 15:04:16 +0000
commite051abd20b1978ddc53723c8233bc54742243045 (patch)
tree1dbe1a35a13aa4f35ae58c2c8f8e6d4e546209a4 /synapse/push/httppusher.py
parentFix logging and add user_id (diff)
downloadsynapse-e051abd20b1978ddc53723c8233bc54742243045.tar.xz
add appid/device_display_name to to pusher logging
Diffstat (limited to 'synapse/push/httppusher.py')
-rw-r--r--synapse/push/httppusher.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index 4a03af5b21..02bd013ca3 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -164,7 +164,7 @@ class HttpPusher(object):
         logger.info(
             "Processing %i unprocessed push actions for %s starting at "
             "stream_ordering %s",
-            len(unprocessed), self.user_id, self.last_stream_ordering,
+            len(unprocessed), self.name, self.last_stream_ordering,
         )
 
         for push_action in unprocessed:
@@ -342,7 +342,7 @@ class HttpPusher(object):
 
     @defer.inlineCallbacks
     def _send_badge(self, badge):
-        logger.info("Sending updated badge count %d to %r", badge, self.user_id)
+        logger.info("Sending updated badge count %d to %s", badge, self.name)
         d = {
             'notification': {
                 'id': '',