Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

How to totally disable loglevel TRACE #870

Open
bolshoydi opened this issue Aug 14, 2020 · 2 comments
Open

How to totally disable loglevel TRACE #870

bolshoydi opened this issue Aug 14, 2020 · 2 comments

Comments

@bolshoydi
Copy link

neither of the kind
KAFKA_LOG4J_ROOT_LOGLEVEL: 'INFO'
KAFKA_TOOLS_LOG4J_LOGLEVEL: 'INFO'
KAFKA_LOG4J_LOGGERS: 'kafka:controller=WARN'
doesn't helps.
I still can see TRACE logs.

kafka_1      | [2020-08-14 15:46:47,045] INFO [Controller id=1] Processing automatic preferred replica leader election (kafka.controller.KafkaController)
kafka_1      | [2020-08-14 15:46:47,046] TRACE [Controller id=1] Checking need to trigger auto leader balancing (kafka.controller.KafkaController)
kafka_1      | [2020-08-14 15:46:47,054] DEBUG [Controller id=1] Topics not in preferred replica for broker 1 Map() (kafka.controller.KafkaController)
kafka_1      | [2020-08-14 15:46:47,057] TRACE [Controller id=1] Leader imbalance ratio for broker 1 is 0.0 (kafka.controller.KafkaController)
@justinhaubrich
Copy link

I have this same issue also, did you ever figure out how to hide those logs?

@bolshoydi
Copy link
Author

unfortunately no.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants