Hi , Can anybody point to how log4j can be used with embedded tomcat. I am using jboss4.0.1. The server.xml in the embedded tomcat specifies "org.jboss.web.tomcat.Log4jLogger" as the logger. How can log4j be actually used.
Checked out the wiki -- it says the categories for tomcat would be org.jboss.web and org.apache.catalina.
My problems are as follows : 1. how can we specify log4j configuration per context for web apps. 2. how can log4j be configured for the access logs -- in server.xml it is specified as <Valve className="org.apache.catalina.valves.AccessLogValve" ..../> which rolls the logs daily . How can the access logs be configured using log4j.