You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logs-0000.txt.gz (this is the logcat one)
logs-0001.txt.gz
logs-0002.txt.gz
logs-0003.txt.gz
logs-0004.txt.gz
logs-0005.txt.gz
logs-0006.txt.gz
logs-0007.txt.gz
Unsure whether to fix in the rageshake server (and accept *.gz as a valid extension) or if we should fix in element-android going forward and accept currently deployed apps' log submissions will be made into generic logs-0000.txt.gz files.
The text was updated successfully, but these errors were encountered:
This is also true of element-web, which submits logs (i believe) with a name similar to instance-123152 - however it's less of a problem there as all logs are of the same type; and it submits them in reverse chronological order, so it's easier to manage.
Thanks a lot for this fix @michaelkaye ! I was wondering since a long time why we had this diff in the files name.
I confirm that we now have better filenames on the rageshakes:
Describe the bug
element-android submits rageshakes with gzipped file parts, eg:
https://github.com/vector-im/element-android/blob/develop/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt#L700 creates gzipped files named with a .gz extension
https://github.com/vector-im/element-android/blob/develop/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt#L299 creates Parts with the filename set to the name
Rageshake server rejects the name and overwrites with a good one as it doesn't match the regular expression here:
https://github.com/matrix-org/rageshake/blob/master/submit.go#L427
It then replaces it with a logs-0000.gz style extension.
This makes it hard to handle crash data, logcat data and log files separately.
So rather than getting the following files:
We get the following files:
Unsure whether to fix in the rageshake server (and accept *.gz as a valid extension) or if we should fix in element-android going forward and accept currently deployed apps' log submissions will be made into generic logs-0000.txt.gz files.
The text was updated successfully, but these errors were encountered: