cp-all-in-one
cp-all-in-one copied to clipboard
How to configure log level
We are trying to reduce the logs when testing with other containers we are bringing up. We get blasted with INFO level logging:
kafka_1 | [2020-06-11 18:56:22,052] INFO [Controller id=1] Processing automatic preferred replica leader election (kafka.controller.KafkaController)
We have tried a number of ways to resolve this in the .yml: ` KAFKA_LOG4J_LOGGERS: 'kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO'
KAFKA_LOG4J_ROOT_LOGLEVEL: WARN
KAFKA_TOOLS_LOG4J_LOGLEVEL: WARN`
None of that appears to work. How does one set the log level?
Same problem. Have been unable to resolve.