Support Questions
Find answers, ask questions, and share your expertise

How do I suppress INFO and WARNING messages when reading and writing to HDFS

New Contributor

How to suppress below INFO and WARNING messages using


log4j:WARN No appenders could be found for logger (

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See for more info.

 INFO - Got brand-new compressor [.snappy]



Cloudera Employee

Hi Srmitta,

In my lab I cannot see any warn or info while doing hadoop commands. Please try the below setting in the hdfs-log4j :




Community Manager

@srmitta, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 


Vidya Sargur,
Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

New Contributor

Hi Arun


Seeing this Information warnings on client side, created file on client and added properties what you suggested and passed file using -Dlog4j.configuration to client application, this didn't help, still seeing messages.


Only way I could stop that message is by setting .level = SEVERE in IBM JDK file. Wondering if there is another way I could stop this message without making changes to file.