Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4411

Make logging stacktrace to db optional

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7
    • Fix Version/s: distant future
    • Component/s: Infra
    • Labels:
    • Subscription:
      Active subscription

      Description

      As of now, stacktrace is logged into xml object in db. This generates quite a mass of data.

      If this could be configurable, it would help to reduce db size on large enviroments.

      So, piece of code could be switchable on/off
      https://github.com/Evolveum/midpoint/blob/master/infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java

      StackTraceElement[] stackTrace = ex.getStackTrace();
      for (StackTraceElement aStackTrace : stackTrace) {
      detailsb.append(aStackTrace.toString());
      detailsb.append("\n");
      }

        Attachments

          Activity

            People

            • Assignee:
              mederly Pavol Mederly
              Reporter:
              petr.gasparik Petr Gašparík
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: