Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2993

Show error stack trace when simple descriptor handler fails to parse a descriptor

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 1.6.0
    • None
    • Server
    • None

    Description

      Currently, the error stack trace is shown in gateway.log only, if the org.apache.knox.gateway log level is set to DEBUG:

        @Message( level = MessageLevel.ERROR, text = "An error occurred while processing {0} : {1}" )
        void simpleDescriptorHandlingError(String simpleDesc,
                                           @StackTrace(level = MessageLevel.DEBUG) Exception e);
      

      This makes our lives hard when dealing with errors related to events coming from CM configuration monitoring.
      I recommend showing this information even on INFO level.

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              smolnar Sandor Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 20m
                  20m