mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-30 16:46:13 -05:00
add appid/device_display_name to to pusher logging
This commit is contained in:
parent
4528dd2443
commit
e051abd20b
@ -164,7 +164,7 @@ class HttpPusher(object):
|
|||||||
logger.info(
|
logger.info(
|
||||||
"Processing %i unprocessed push actions for %s starting at "
|
"Processing %i unprocessed push actions for %s starting at "
|
||||||
"stream_ordering %s",
|
"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:
|
for push_action in unprocessed:
|
||||||
@ -342,7 +342,7 @@ class HttpPusher(object):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _send_badge(self, badge):
|
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 = {
|
d = {
|
||||||
'notification': {
|
'notification': {
|
||||||
'id': '',
|
'id': '',
|
||||||
|
Loading…
Reference in New Issue
Block a user