I am trying to get log4j working using xml configuration. I have log4j.xml added to classpath but while running I am getting :
log4j:WARN No appenders could be found for logger (test.DateFormatter). log4j:WARN Please initialize the log4j system properly.
If I place a log4j.properties instead it seems to pick up the configuration. Any ideas