tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Error in Tomcat 6.0 log4j documentation
Date Mon, 06 Jun 2011 17:09:10 GMT
On 06/06/2011 15:25, Remon Sadikni wrote:
> Dear Tomcat-Developers and Users,
> 
> I think there is an error in the Tomcat 6.0 logging documentation with
> log4j:
> http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j
> 
> For every appender there is a layout missing and in front of
> conversionPattern there is missing "layout.".  So for example for the
> appender CATALINA the right syntax would be:
> 
> log4j.appender.CATALINA=org.apache.log4j.DailyRollingFileAppender
> log4j.appender.CATALINA.file=${catalina.base}/logs/catalina.
> log4j.appender.CATALINA.encoding=UTF-8
> # Roll-over the log once per day
> log4j.appender.CATALINA.DatePattern='.'yyyy-MM-dd'.log'
> log4j.appender.CATALINA.layout.conversionPattern = %d [%t] %-5p %c- %m%n
> log4j.appender.CATALINA.layout=org.apache.log4j.PatternLayout
> log4j.appender.CATALINA.append=true
> 
> The same errors appear in the Tomcat 7.0 documentation.

Thanks for the report.

I could see the missing "layout." but no missing layouts for the appenders.

The fixes will be in 7.0.16 and 6.0.33.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message