Add option for MatrixClient.initRustCrypto() to disable tracing #4177
Labels
A-Developer-Experience
A-Element-R
Issues affecting the port of Element's crypto layer to Rust
T-Enhancement
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.
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?
The text was updated successfully, but these errors were encountered: