Skip to content

Commit 8c3953d

Browse files
committed
Use the right filename for log files so they're sorted in rageshakes
1 parent 95c3738 commit 8c3953d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/main/kotlin/io/element/android/x/initializer/TracingInitializer.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ class TracingInitializer : Initializer<Unit> {
7171
return WriteToFilesConfiguration.Enabled(
7272
directory = bugReporter.logDirectory().absolutePath,
7373
filenamePrefix = "logs",
74-
filenameSuffix = null,
75-
// Keep a minimum of 1 week of log files.
74+
// DO NOT CHANGE: suffix *MUST* be "log" for the rageshake server to not rename the file to something generic
75+
filenameSuffix = "log",
76+
// Keep a maximum of 1 week of log files.
7677
numberOfFiles = 7 * 24,
7778
)
7879
}

0 commit comments

Comments
 (0)