Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7124

Setting logLevel through om logLevel endpoint broken

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Previously, we could set the log level for an ozone manager class through the ozone manager endpoint, localhost:9874/logLevel for any class.  Recently that has changed and results in an error returned to the user: Sorry, class org.apache.commons.logging.impl.SLF4JLocationAwareLog not supported. 

      see attached figure1-om-logLevel-problem.

      This also appears to affect the ozone daemonlog shell command as well with the user informed the level is being set, however the level does not change as it appears to be set through the same endpoint.

       

      This problem however, does not affect the logLevel set through the s3gateway endpoint, localhost:9878/logLevel.  Getting and setting log levels through this endpoint appears unaffected.  It gives a user a message indicating the log class used is: Log Class: org.apache.commons.logging.impl.Log4JLogger

      see attached figure2-s3g-noproblem

       

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            NeilJoshi Neil Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment