I have added -Dlog4j.debug=true and the console output seems using the right
log4j.prpoerties, the appserver is weblogic 10.3.4, the output in console is:
log4j: Trying to find [log4j.xml] using context classloader
weblogic.utils.classloaders.ChangeAwareClassLoader@5aa997 finder:
weblogic.utils
This sort of confusion is almost always caused by some other configuration
file being loaded rather than the one you expect. I suggest setting
-Dlog4j.debug=true on the command line (in this case, the command line
starting the appserver), which will cause Log4j to provide information on how