From 4ad7fadb824c6219e2c3a17d30e9f53554398099 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Tue, 20 Feb 2024 20:19:58 +0100 Subject: [PATCH] Fix logging error in streaming server (#2636) Logger changed upstream causing `log.silly` to error and crash the server for local only statuses --- streaming/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/index.js b/streaming/index.js index 0d7bf2fc8..b9bdb44f2 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -767,7 +767,7 @@ const startServer = async () => { // Only send local-only statuses to logged-in users if ((event === 'update' || event === 'status.update') && payload.local_only && !(req.accountId && allowLocalOnly)) { - log.silly(req.requestId, `Message ${payload.id} filtered because it was local-only`); + log.debug(`Message ${payload.id} filtered because it was local-only`); return; }