Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-13625

Fix inconsistency in dynamic application log levels

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core
    • None

    Description

      As of present, there are two ways of changing log levels in Runtime:

      1. JMX API
      2. Admin API

      However, there are some inconsistencies between these two ways;

      1. JMX API allows OFF level; but Admin API does not. If the user tries to set the logger's level to OFF, Kafka responds with INVALID_CONFIG (40) error.
      2. JMX API converts unsupported log level to DEBUG; but Admin API throws an error. The documentation does not state this difference in semantics.

      To fix these inconsistencies, we have to:

      1. Add OFF level to LogLevelConfig.
      2. Add documentation on different semantics between JMX and Admin API.

      Attachments

        Issue Links

        Activity

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

          People

            dongjin Dongjin Lee
            dongjin Dongjin Lee

            Dates

              Created:
              Updated:

              Slack

                Issue deployment