Skip to content

Commit 4ba6c4a

Browse files
stefanceriupoljar
authored andcommitted
Fix tracing configuration following API changes - move configuration from the final client to the rust side.
- relates to matrix-org/matrix-rust-sdk#4492
1 parent bb8c128 commit 4ba6c4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/api/rust/rust.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ func DeleteOldLogs(prefix string) {
3030
func SetupLogs(prefix string) {
3131
// log new files
3232
matrix_sdk_ffi.SetupTracing(matrix_sdk_ffi.TracingConfiguration{
33+
LogLevel: matrix_sdk_ffi.LogLevelTrace,
34+
ExtraTargets: nil,
3335
WriteToStdoutOrSystem: false,
34-
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",
3536
WriteToFiles: &matrix_sdk_ffi.TracingFileConfiguration{
3637
Path: "./logs",
3738
FilePrefix: prefix,

0 commit comments

Comments
 (0)