Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Supress INFO and WARN from logs

Highlighted

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 ?

1 REPLY 1

Re: Supress INFO and WARN from logs

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)

Default:

log4j.logger.kafka=INFO, kafkaAppender


Change it as following:

log4j.logger.kafka=ERROR, kafkaAppender

.

Don't have an account?
Coming from Hortonworks? Activate your account here