diff --git a/internal/api/rust/rust.go b/internal/api/rust/rust.go index ee5a29a..ab8c4e9 100644 --- a/internal/api/rust/rust.go +++ b/internal/api/rust/rust.go @@ -31,7 +31,7 @@ func SetupLogs(prefix string) { // log new files matrix_sdk_ffi.SetupTracing(matrix_sdk_ffi.TracingConfiguration{ WriteToStdoutOrSystem: false, - Filter: "debug,hyper=warn,log=warn,eyeball=warn,matrix_sdk_common=trace", //,matrix_sdk_ffi=trace,matrix_sdk=trace,matrix_sdk_crypto=trace,matrix_sdk_base=trace,matrix_sdk_ui=trace", + Filter: "debug,hyper=warn,log=warn,eyeball=warn,matrix_sdk_common=trace,matrix_sdk_base=trace", //,matrix_sdk_ffi=trace,matrix_sdk=trace,matrix_sdk_crypto=trace,matrix_sdk_base=trace,matrix_sdk_ui=trace", WriteToFiles: &matrix_sdk_ffi.TracingFileConfiguration{ Path: "./logs", FilePrefix: prefix, diff --git a/tests/main_test.go b/tests/main_test.go index e8e713a..b7bf8dc 100644 --- a/tests/main_test.go +++ b/tests/main_test.go @@ -16,6 +16,7 @@ var ( func TestMain(m *testing.M) { instance = cc.NewInstance(config.NewComplementCryptoConfigFromEnvVars()) instance.TestMain(m) + } // Instance returns the test instance. Guaranteed to be non-nil if called in a test,