Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9316

Logs from within script of the Javascript Transform do not show in User Logs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: Log
    • Labels:
      None
    • Rank:
      1|hzzzhr:

      Description

      Since the userLogs are tagged based on the caller class, logs from within will not be marked as plugin logs. This is the caller data stack for these logs:

      Caller Data[1] = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Caller Data[2] = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      Caller Data[3] = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Caller Data[4] = java.lang.reflect.Method.invoke(Method.java:606)
      Caller Data[5] = sun.org.mozilla.javascript.internal.MemberBox.invoke(MemberBox.java:167)
      Caller Data[6] = sun.org.mozilla.javascript.internal.NativeJavaMethod.call(NativeJavaMethod.java:245)
      Caller Data[7] = sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:1706)
      Caller Data[8] = sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:849)

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Wadhwani
              Reporter:
              deepak Deepak Wadhwani
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: