tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Agel <bjo...@agel-rosen.de>
Subject Tomcat 7 Logging Log4J - [INFO] org.apache.catalina.core.ContainerBase
Date Tue, 21 Jun 2011 10:23:44 GMT
Hi there,

I am using Log4j with the following log4j.properties for the Tomcat:

/log4j.rootLogger=INFO, R

     log4j.appender.R=org.apache.log4j.RollingFileAppender
     log4j.appender.R.File=${catalina.home}/logs/tomcat.log
     log4j.appender.R.encoding=UTF-8
     log4j.appender.R.MaxFileSize=2MB
     log4j.appender.R.MaxBackupIndex=10
     log4j.appender.R.layout=org.apache.log4j.PatternLayout
     log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
     log4j.appender.R.append=true

     log4j.logger.org.apache.jasper.compiler.TldLocationsCache=ERROR
     log4j.logger.org.apache.tomcat.util.http.Parameters=ERROR
     log4j.logger.org.apache.struts.util.MessageResources=ERROR

//    
log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[www.agel-rosen.de].[/]=INFO/
//

I want to get rid of the following WARN message which appears every minute:

/2011-06-21 11:46:00,647 ["ajp-apr-8042"-exec-9] INFO  
org.apache.catalina.core.ContainerBase.[Catalina].[www.agel-rosen.de].[/] - 
[WARN] PropertyMessageResources -   Resource ... Not Found. /


As you can see I tried to disable appearing that message with 
"log4j.logger.org.apache.struts.util.MessageResources=ERROR" but it 
doesn't ...
Anyone can help me further?

with best regards,
Björn


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