theseus icon indicating copy to clipboard operation
theseus copied to clipboard

Include crash reports and attempt to order by age.

Open CoreyShupe opened this issue 2 months ago • 1 comments

This pull request does a few things

  1. We now include crash-reports in the selection drop down in the "Logs" menu
  2. The system will attempt to order the log list by age rather than by file name, using file name as a secondary sort and the sort used when age cannot be determined
  3. When a game crashes it will now be the first log opened when re-entering the log page
  4. When a client crashes it will swap from the live log to the generated crash report

Some notes here

  • The live log will not include the crash report at the "end". This PR is only to make them accessible via the drop down menu. In fact (4) points out it will automatically switch to the crash log instead once a game closes.
  • When a new instance is started it will move latest.log to a new .log.gz which will have a newer "created" time than the crash log, meaning prior to starting an instance latest.log will be before the crash report, and once a new instance is booted up it will be moved to after the crash report in the zipped format

CoreyShupe avatar May 06 '24 07:05 CoreyShupe

This should assist #892 in that it will open into the crash-report on crashes rather than remaining in the live (latest) log.

CoreyShupe avatar May 06 '24 08:05 CoreyShupe