GithubHelp home page GithubHelp logo

Comments (4)

kevindeland avatar kevindeland commented on August 12, 2024

EXAMPLE: I want to find the source for these CRASH logs.

image

But when I go to look through the PERF logs, they are ordered by Session ID.
image

from robotutor_2019.

kevindeland avatar kevindeland commented on August 12, 2024

Decided Solution
Change CRASH log name to match naming scheme of PERF Log.

Code Locations

  • cmu.xprize.robotutor.tutorengine.util.CrashHandler.java : search for "logFile"
  • RoboTutor.java : search for "PERF_" to find naming convention.

Acceptance Criteria

  • Write code that artificially throws an Exception.
  • Run RoboTutor and wait for the crash.
  • Navigate to the /sdcard/Download/ folder and confirm that the files have matching conventions.

Other considerations

  • It would be best if the CRASH and the PERF used the exact same date. I'm not sure if this is currently the case.

from robotutor_2019.

kevindeland avatar kevindeland commented on August 12, 2024

A temporary alternative for renaming PERF files to remove session number.

ls | sed -n 's/PERF_\(.*\)_2018\.\(.*\)/mv "PERF_\1_2018.\2" "PERF_\2"/p' | sh

from robotutor_2019.

JackMostow avatar JackMostow commented on August 12, 2024

Sure, name crash logs more like session logs, but include both crash time and session id, because crash time > session start time, and in case it's possible to have >1 crash during the same session.

And include session serial number in session id to detect data loss as well as combat clock resets.

BTW, omitting crash time and parameter values from the contents of crash logs makes it easy to count the number of instances of a given type of crash, because their contents (message + stack trace) are identical. That's how I was able use to an Excel pivot table to count crash type frequency.

from robotutor_2019.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.