Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7216

The ExportStackTraceCommand should include a timestamp similar to jstack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • gfsh
    • None

    Description

      Currently the ExportStackTraceCommand dumps stack traces with a head for each member like:

      *** Stack-trace for member server3 ***
      

      It would be nice for support purposes if it included a timestamp like:

      *** Stack-trace for member server3 at 2019-09-16 10:39:57 ***
      

      That'll help correlate stack traces with logs and stats.

      Something like:

      ps.append(STACK_TRACE_FOR_MEMBER).append(entry.getKey()).append(" at ")
          .append(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())).append(" ***")
          .append(System.lineSeparator());
      

      Attachments

        Issue Links

          Activity

            People

              mkevo Mario Kevo
              boglesby Barrett Oglesby
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h