cp-all-in-one icon indicating copy to clipboard operation
cp-all-in-one copied to clipboard

How to configure log level

Open bpetty-formfast opened this issue 5 years ago • 1 comments

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?

bpetty-formfast avatar Jun 11 '20 19:06 bpetty-formfast

Same problem. Have been unable to resolve.

rdlowrey avatar Aug 25 '21 17:08 rdlowrey