Details
-
Improvement
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
As of present, there are two ways of changing log levels in Runtime:
- JMX API
- Admin API
However, there are some inconsistencies between these two ways;
- 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.
- 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:
- Add OFF level to LogLevelConfig.
- Add documentation on different semantics between JMX and Admin API.
Attachments
Issue Links
- is related to
-
KAFKA-9366 Upgrade log4j to log4j2
- In Progress
-
KAFKA-7800 Extend Admin API to support dynamic application log levels
- Resolved
- links to