-
-
Notifications
You must be signed in to change notification settings - Fork 624
Open
Labels
A-Developer-ExperienceA-Element-RIssues affecting the port of Element's crypto layer to RustIssues affecting the port of Element's crypto layer to RustT-Enhancement
Description
The tracing option is by default turned on in the initRustCrypto function (rust-crypto module). This results in excessive logging information with no control over the logging levels.
new RustSdkCryptoJs.Tracing(RustSdkCryptoJs.LoggerLevel.Debug).turnOn(); // Line 94 in src/rust-crypto/index.ts
When MatrixClient.initRustCrypto() calls it, it does not have options to disable tracing or adjust its logging level. In the Rust SDK, this tracing/logging level can be set with an environment variable. In matrix-js-sdk, however, it seems to be hard-coded.
Can we either use a similar environment variable, or have it as an optional parameter in the init function?
klues and vovacha
Metadata
Metadata
Assignees
Labels
A-Developer-ExperienceA-Element-RIssues affecting the port of Element's crypto layer to RustIssues affecting the port of Element's crypto layer to RustT-Enhancement