Re: how can i configure Tomcat's log4j to log in a separate file for each webapp?

2010-06-18 Thread Erik Bertelsen
2010/6/18 dB. : > This question is all over the internet, without a satisfactory answer. > > We have a Tomcat deployment in which we install many web apps. We call this > thing a services host. It has a log4j configuration that forwards logs into a > file. I'd like to change the file pattern to i

Re: Where to place log4j.properties

2010-05-25 Thread Erik Bertelsen
2010/5/25 Søren Blidorf : > Hi. > > > > Where in my war file should log4j.properties be? > > > > I have it in WEB-INF/classes but it seems like it can’t be found. Der skal den være på runtime. > > > > I get: No appender could be found for logger (org.apache.jasper.JspC) when I > compile. > Hvad e

Re: Container logging for Tomcat 6.0.x with log4j-1.2.14

2007-03-09 Thread Erik Bertelsen
2007/3/9, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: you'll need the modified juli adapter, http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/extras/ Is there any reason that the extras stuff isn't made available in compiled form on the main download pages http://mirror-path/

Tomcat docs status.html does not mention Tomcat 6

2007-03-04 Thread Erik Bertelsen
, while http://tomcat.apache.org/tomcat-5.0-doc/status.html does mention 5.0.28 and 5.0.30, but still not Tomcat 6. While commenting on the web-site, I notice that the section Apache Tomcat Versions on http://tomcat.apache.org/ does not mention 5.0.x -- is this intentional ? Regards - Erik Bertelsen

Documentation nits in tc6's logging.html

2007-01-06 Thread Erik Bertelsen
Looking through the Tomcat 6 docs, I noticed the following in logging.html about how to use log4j for logging with extras/tomcat-juli.jar: the 4th step about replacing tomcat-juli.jar is ok, but the 5th step about adding tomcat-juli-adapters.jar looks like it has been copied too quickly from step