From a10c05ed789dc79d672849d7ded13f3df9d18dd6 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 13 Aug 2024 15:08:02 +0100 Subject: [PATCH 1/2] Remove logging in multipart This is really spurious and causes a lot of spam. I don't think there is a use for it even at DEBUG level. --- synapse/http/client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/synapse/http/client.py b/synapse/http/client.py index 56ad28eabf3..daa5cc899b9 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -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: From 351571687eab2e9050a184487cb493392d0b74ee Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 13 Aug 2024 15:10:36 +0100 Subject: [PATCH 2/2] Newsfile --- changelog.d/17563.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/17563.misc diff --git a/changelog.d/17563.misc b/changelog.d/17563.misc new file mode 100644 index 00000000000..672764ab82f --- /dev/null +++ b/changelog.d/17563.misc @@ -0,0 +1 @@ +Reduce log spam of multipart files.