EJB programming & troubleshooting: Problem with logging using struts

  1. Problem with logging using struts (1 messages)

    Hi, I am using log4j-1.2.9.jar with tomcat 5.5 for logging in my web application using struts framework. I have created a separate file for logging. Everything is fine but I am getting the tomcat log info also in my log file. How can I prevent this so that the file should log only the info related to my web application. Thank you,
  2. paste this text in property file log4j.logger.org.apache=DEBUG log4j.logger.org.apache=INFO log4j.logger.org.apache.struts=DEBUG log4j.logger.org.apache.struts=INFO