Created 11-14-2021 06:26 AM
How to suppress below INFO and WARNING messages using log4j.properties
log4j:WARN No appenders could be found for logger (com.ibm.connect.shadow.parquet.crypto.EncryptionPropertiesFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
INFO org.apache.hadoop.io.compress.CodecPool - Got brand-new compressor [.snappy]
Created 11-18-2021 05:13 AM
Hi Arun
Seeing this Information warnings on client side, created log4j.properties file on client and added properties what you suggested and passed log4j.properties 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 logging.properties file. Wondering if there is another way I could stop this message without making changes to logging.properties file.
Thanks
Srinivasa
Created 11-15-2021 02:38 AM
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 :
hadoop.root.logger=INFO,WARN,console
hadoop.log.dir=.
hadoop.log.file=hadoop.log
Created 11-17-2021 09:19 PM
@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.
Regards,
Vidya Sargur,Created 11-18-2021 05:13 AM
Hi Arun
Seeing this Information warnings on client side, created log4j.properties file on client and added properties what you suggested and passed log4j.properties 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 logging.properties file. Wondering if there is another way I could stop this message without making changes to logging.properties file.
Thanks
Srinivasa
Created 12-12-2021 11:00 PM
Hi Srinivasa, As this is a 3rd party application I am not really sure about it. Glad that currently you have a property that help in achieving the goal.