Ed, Right now commons-digester.jar is in the webapp's classpath, and so it is the jar file (management.jar) which includes my log file, but it still gets the log4j warning error message. log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig). log4j:WARN Please initialize the log4j system properly. <classpathentry kind="lib" path="C:/ping/lib/management.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/commons-digester.jar"/> I am using MyEclipse, and deploying the apps in my local machine. Should I do anything else? Thank you! Ping Ed Griebel <[EMAIL PROTECTED]> wrote: For a WAR file you are going to deploy: create a log4j.properties or a log4j.xml file and get it into your warfile under WEB-INF/classes. The actual process of doing this differs if you are using Maven, an IDE deployer (e.g. JDeveloper or WSAD), or Ant to generate and deploy a WAR.
For a webapp running within an IDE, you will need to put the file in a directory in your deployed application's classpath. This is highly specific based on what IDE and plugins you are using, but usually this will be the WEB-INF/classes directory. It could also be placed in an arbitrary directory and the webapp's classpath should then include this arbitrary classpath. If this has nothing to do with a webapp, then it is not even tangentially a Struts issue but you will still want to create a log4j.properties or log4j.xml file and have that on the classpath when executing whatever app you are using. HTH, -ed On 10/30/06, Ping Yu wrote: > People in the list, > > I have my own log.java, and I would like to make a call to my own log > definitions before initialize/using the digester > (org.apache.commons.digester.Digester). However, I have no idea how to call > my own log first. Any suggestions? Thank you very much! > > Right now, I am always getting the log4j warning. > > Ping > > > > --------------------------------- > Get your email and see which of your friends are online - Right on the new > Yahoo.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Access over 1 million songs - Yahoo! Music Unlimited Try it today.