i think that i do put the log4j.xml (i use the xml configuration file instead) and my other log operations run correctly. However, i just checked my configuration file, in which the ConsoleAppender'
pattern starts with the "%-4r" but not the "log4j:" in the tomcat console.
By the way, i read tomcat's documents carefully and find that tomcat do not use log4j or common-logging but its own log utilities instead which is configured in the "server.xml" file under the directory 'conf'.
So the output i mentioned "log4j:WARN" is neither tomcat's output nor my web application's output. Where did it come from? Could anybody help me?
Thanks! The following is my log4j.xml's snippet for the ConsoleAppender.
[ January 09, 2004: Message edited by: simeon ]