Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7548

Remove stacktrace log in ReteDumper

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 8.44.0.Final
    • core engine
    • None
    • 2023 Week 36-38 (from Sep 4)
    • NEW
    • NEW
    • ---
    • ---

      Issue Description:

      ReteDumper logs a bunch of stacktraces in trace level. It's ignorable, but confusing to users.

      2023-09-08T14:30:25.5602380Z 2023-09-08 14:30:25,507 [main] TRACE failed to log mask values
      2023-09-08T14:30:25.5603348Z java.lang.NoSuchMethodException: org.drools.core.reteoo.EntryPointNode.getInferredMask()
      2023-09-08T14:30:25.5604106Z    at java.base/java.lang.Class.getMethod(Class.java:2108)
      2023-09-08T14:30:25.5605112Z    at org.drools.core.reteoo.ReteDumper.dumpNode(ReteDumper.java:218)
      2023-09-08T14:30:25.5605740Z    at org.drools.core.reteoo.ReteDumper.dumpNode(ReteDumper.java:195)
      2023-09-08T14:30:25.5606888Z    at org.drools.core.reteoo.ReteDumper.traverseRete(ReteDumper.java:186)
      2023-09-08T14:30:25.5607521Z    at org.drools.core.reteoo.ReteDumper.dump(ReteDumper.java:129)
      2023-09-08T14:30:25.5608129Z    at org.drools.core.reteoo.ReteDumper.dump(ReteDumper.java:123)
      2023-09-08T14:30:25.5609074Z    at org.drools.core.reteoo.ReteDumper.dumpRete(ReteDumper.java:99)
      ...
      

      Actually, these logs are not even useful to developers.

      Acceptance Criteria:

      • Remove the log

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: