Skip to content

Commit

Permalink
Remove logging in multipart (#17563)
Browse files Browse the repository at this point in the history
This is really spurious and causes a lot of spam. I don't think there is
a use for it even at DEBUG level.
  • Loading branch information
erikjohnston authored Aug 13, 2024
1 parent 3e7eb45 commit aaa3c36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/17563.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reduce log spam of multipart files.
1 change: 0 additions & 1 deletion synapse/http/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,6 @@ def on_part_data(data: bytes, start: int, end: int) -> None:
return
# otherwise we are in the file part
else:
logger.info("Writing multipart file data to stream")
try:
self.stream.write(data[start:end])
except Exception as e:
Expand Down

0 comments on commit aaa3c36

Please sign in to comment.