-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs about rageshake files #44
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
aa901b9
Record some information about submitted reports from existing clients.
michaelkaye a5d3006
More information about log formats
michaelkaye bbe3619
Apply suggestions from code review
michaelkaye e5a067b
Combine eleweb/eledesktop, add notes about process/thread ID.
michaelkaye 108594b
Link into docs for the logs and compressed-logs formats.
michaelkaye d830523
All platforms (web, ios, android) provide feedback in various formats…
michaelkaye 5d59304
Add changelog
michaelkaye File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add documentation on the types and formats of files submitted to the rageshake server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Common report styles | ||
|
||
Rageshakes can come from a number of applications, and we provide some practical notes on the generated format. | ||
|
||
At present these should not be considered absolute nor a structure to follow; but an attempt to document the currently visible formats as of January 2022. | ||
|
||
## Feedback | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. some more context on this? is this an eleweb feature, or? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (Will investigate) |
||
|
||
Log files are not transmitted; the main feedback is entirely within the user message body. | ||
|
||
This occurs from all platforms. | ||
|
||
## Element Web / Element Desktop | ||
|
||
Log files are transmitted in reverse order (0000 is the youngest) | ||
|
||
Log line format: | ||
``` | ||
2022-01-17T14:57:20.806Z I Using WebAssembly Olm | ||
< ---- TIMESTAMP ------> L <-- Message ---- | ||
|
||
L = log level, (W=Warn, I=Info, etc) | ||
``` | ||
|
||
New log files are started each restart of the app, but some log files may not contain all data from the start of the session. | ||
|
||
## Element iOS | ||
|
||
Crash Log is special and is sent only once (and deleted on the device afterwards) | ||
|
||
`crash.log` | ||
|
||
Following logs are available, going back in time with ascending number. | ||
console.log with no number is the current log file. | ||
``` | ||
console.log (newest) | ||
console-1.log | ||
... | ||
console-49.log (oldest) | ||
|
||
console-nse.log (newest) | ||
console-nse-1.log | ||
... | ||
console-nse-49.log (oldest) | ||
|
||
console-share.log (newest) | ||
console-share-1.log | ||
console-share-49.log (oldest) | ||
``` | ||
|
||
## Element Android | ||
|
||
There is a historical issue with the naming of files, documented in [issue #40](https://github.com/matrix-org/rageshake/issues/40). | ||
|
||
Log file 0000 is odd, it contains the logcat data if sent. | ||
|
||
Log line format: | ||
``` | ||
01-17 14:59:30.657 14303 14303 W Activity: Slow Operation: | ||
<-- TIMESTAMP ---> <-P-> <-T-> L <-- Message -- | ||
|
||
L = Log Level (W=Warn, I=Info etc) | ||
P = Process ID | ||
T = Thread ID | ||
``` | ||
Remaining log files are transmitted according to their position in the round-robin logging to file - there will be (up to) 7 files written to in a continious loop; one of the seven will be the oldest, the rest will be in order. | ||
|
||
Log line format: | ||
``` | ||
2022-01-17T13:06:36*838GMT+00:00Z 12226 D/ /Tag: Migration: Importing legacy session | ||
< ---- TIMESTAMP ---------------> <-P-> L <-- Message ---- | ||
|
||
L = log level, (W=Warn, I=Info, etc) | ||
P = Process ID | ||
``` | ||
|
||
Once the fix to #40 is in place, we will see the following files: | ||
|
||
``` | ||
logcatError.log | ||
logcat.log | ||
crash.log | ||
keyrequests.log | ||
log-[1-7].log | ||
``` | ||
|
||
Log 1-7 are logs from a round-robin buffer and are ordered but the start point is undefined |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's an echo in here.