tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A. Alonso Dominguez" <alonso.do...@gmail.com>
Subject Tomcat 5.5.9 Logging Issue
Date Fri, 02 Sep 2005 08:20:13 GMT
Hi there,

I've migrated some days ago from Tomcat 4.1.27 to the lastest release:
5.5.9and I've lost all the logging mechanism of the my web
applications. The two
webapps deployed on my server use log4j as the logging mechanism. I now 
there are differences in the logging system between tomcat 4.1 and 5.5 so I 
followed the instructions at 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html but it isn't 
working. 

There is the log4j.properties file that I'm using (my /var/log/tomcat folder 
points to /logs folder inside tomcat's installation):
# ------------------------------------------------------------------
# Inicializamos el "logger" raíz con nivel de depuración
# ------------------------------------------------------------------
log4j.rootLogger=DEBUG, R

# ------------------------------------------------------------------
# Añadimos un "appender" por días
# ------------------------------------------------------------------
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=/var/log/tomcat/www.interlogical.com.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%5p %d{dd-MM H:mm:ss} (%F:%L) - 
%m%n
log4j.appender.R.Threshold=ERROR

# ------------------------------------------------------------------
# Enlazamos nuestro "logger" con el de Tomcat (5.5)
# ------------------------------------------------------------------
log4j.logger.org.apache.catalina=DEBUG, R
log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].StandardHost[
www.interlogical.com <http://www.interlogical.com>]=DEBUG, R
log4j.logger.org.apache.catalina.core=DEBUG, R
log4j.logger.org.apache.catalina.session=DEBUG, R

There is not any file like: /var/log/tomcat/www.interlogical.com.log

Regards,
Alonso

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message