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

Commit

Permalink
improve logging more
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Jul 10, 2019
1 parent bdfac1e commit 31d5807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def get_access_token_for_user_id(self, user_id, device_id, valid_until_ms):
fmt_expiry = ""
if valid_until_ms is not None:
fmt_expiry = time.strftime(
"until %Y-%m-%d %H:%M:%S", time.localtime(valid_until_ms / 1000.0)
" until %Y-%m-%d %H:%M:%S", time.localtime(valid_until_ms / 1000.0)
)
logger.info("Logging in user %s on device %s%s", user_id, device_id, fmt_expiry)

Expand Down

0 comments on commit 31d5807

Please sign in to comment.