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

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

book

Article ID: 15475

calendar_today

Updated On:

Products

Data Content Discovery

Issue/Introduction



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.

Environment

Release:
Component: DCD

Resolution

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 attached log4j.properties file and copy it to /webapps/dcd/WEB-INF/classes folder of your web container. 


 

Attachments

1560972490018__log4j.properties get_app