I receive 'log4j' warning messages in STDERR in the Data Content Discovery DCDCONTL and DCDSRVR server tasks, how can these messages be addressed?

Document ID : KB000015475
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

I receive 'log4j' warning messages in STDERR in the Data Content Discovery DCDCONTL and DCDSRVR server tasks, how can these messages be addressed?

log4j:WARN No appenders could be found for logger org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.

Answer:

The warning messages come from a third party component expecting log4j config file to be present in the classpath. This does not impact the product's features as the Data Content Discovery logging mechanism does not use log4j. Those warning messages can be safely ignored. 

However, as a workaround you can copy the log4j.properties file from the below link and copy it to /webapps/dcd/WEB-INF/classes folder of your web container. 

https://ca--c.na60.content.force.com/servlet/servlet.FileDownload?file=00P0c00000y5dB1