From 6e2ac03f7e130ec721fc67176883571547608ee6 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 20 Oct 2023 22:43:28 +0100 Subject: [PATCH] Reduce log spam from rust crypto (#3819) * turn the log level down to DEBUG * don't pointlessly log every call to `outgoingRequests` --- src/rust-crypto/index.ts | 2 +- src/rust-crypto/rust-crypto.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rust-crypto/index.ts b/src/rust-crypto/index.ts index 8440052fd6f..12787881139 100644 --- a/src/rust-crypto/index.ts +++ b/src/rust-crypto/index.ts @@ -54,7 +54,7 @@ export async function initRustCrypto( await RustSdkCryptoJs.initAsync(); // enable tracing in the rust-sdk - new RustSdkCryptoJs.Tracing(RustSdkCryptoJs.LoggerLevel.Trace).turnOn(); + new RustSdkCryptoJs.Tracing(RustSdkCryptoJs.LoggerLevel.Debug).turnOn(); const u = new RustSdkCryptoJs.UserId(userId); const d = new RustSdkCryptoJs.DeviceId(deviceId); diff --git a/src/rust-crypto/rust-crypto.ts b/src/rust-crypto/rust-crypto.ts index cc7dc3bfda8..34ceec27208 100644 --- a/src/rust-crypto/rust-crypto.ts +++ b/src/rust-crypto/rust-crypto.ts @@ -1537,7 +1537,6 @@ export class RustCrypto extends TypedEventEmitter