...
SET: Set the log level to the desired value
REMOVE: Sets Unsets the log level to the same as of the logger. This effectively means it is set to the root logger's log level, as the logging library goes up the chain of configured loggers until it finds one. By default - the next logger in the hierarchy is root.
IncrementalAlterConfigsOp => INT8
0 : SET
1 : REMOVE # sets log level to the root logger's level
2 : APPEND # NOT SUPPORTED
3 : SUBTRACT # NOT SUPPORTED
IncrementalAlterConfigsRequest (Version: 0 ) => [resources] validate_only
validate_only => BOOLEAN
resources => resource_type resource_name [configs]
resource_type => INT8 # BROKER_LOGGER ( 8 )
resource_name => STRING # ID of broker
configs => config_name config_op config_value
config_name => STRING
config_op => INT8 # support SET and APPEND only
config_value => NULLABLE_STRING
IncrementalAlterConfigsResponse (Version: 0 ) => [responses]
responses => resource_type resource_name error_code error_message
resource_type => INT8 # BROKER_LOGGER ( 8 )
resource_name => STRING # ID of broker
error_code => INT16
error_message => NULLABLE_STRING
|
...
In the case of an invalid config_value or an invalid/non-existent logger name, the broker will return an INVALID_CONFIG
(40) error for that config resource (BROKER_LOGGER).
INVALID_REQUEST will be returned when attempting to reset the unset the ROOT logger's log level
Tools Changes
...