diff options
author | Mark Haines <mark.haines@matrix.org> | 2017-01-10 14:19:50 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2017-01-10 14:19:50 +0000 |
commit | 32019c98971fae775fe79bb30615899e7f6b09d4 (patch) | |
tree | 3d8efc86131758e1251f8a9d751fe704c71e97d5 /synapse/rest/media/v1/upload_resource.py | |
parent | Merge pull request #1789 from matrix-org/erikj/decouple_presence (diff) | |
download | synapse-32019c98971fae775fe79bb30615899e7f6b09d4.tar.xz |
Log which files we saved attachments to in the media_repository
Diffstat (limited to 'synapse/rest/media/v1/upload_resource.py')
-rw-r--r-- | synapse/rest/media/v1/upload_resource.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/media/v1/upload_resource.py b/synapse/rest/media/v1/upload_resource.py index b716d1d892..4ab33f73bf 100644 --- a/synapse/rest/media/v1/upload_resource.py +++ b/synapse/rest/media/v1/upload_resource.py @@ -97,6 +97,8 @@ class UploadResource(Resource): content_length, requester.user ) + logger.info("Uploaded content with URI %r", content_uri) + respond_with_json( request, 200, {"content_uri": content_uri}, send_cors=True ) |