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

Setting logLevel through om logLevel endpoint broken

    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

        1. figure1-om-logLevel-problem.png
          47 kB
          Neil Joshi
        2. figure2a-s3g-noproblem.png
          37 kB
          Neil Joshi
        3. HDDS-7124_fix.png
          26 kB
          Neil Joshi

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: