Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Supress INFO and WARN from logs

I want to suppress INFO , WARN messages for kafka application logs (/var/log/kafka)

can somebody please suggest what changes has to be done from ambari to achieve the same ?


Super Mentor

@Anurag Mishra

Try changing the Kafka Logging level to ERROR

Ambari UI --> Kafka --> Configs --> Advanced --> "Advanced kafka-log4j" 

Inside this file can you try changing the following INFO level to ERROR (to suppress INFO & WARN messages)


log4j.logger.kafka=INFO, kafkaAppender

Change it as following:

log4j.logger.kafka=ERROR, kafkaAppender


Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.