tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Error in Tomcat 6.0 log4j documentation
Date Tue, 07 Jun 2011 15:06:56 GMT
2011/6/7 Mark Thomas <markt@apache.org>:
> On 07/06/2011 11:52, Remon Sadikni wrote:
>> Hi Mark,
>>
>> for me log4j only works with this additional line per appender:
>>
>> log4j.appender.CATALINA.layout=org.apache.log4j.PatternLayout
>
> Where exactly? That line is already present in the docs. Or are you
> looking at an older version?

That line was already added by Christopher several days ago (revs
1129869, 1129863), as a response for the previous report of the same
issue.

It is not published yet, so see the ci link (the docs published by
buildbot) that Mark mentions below.

>
> The latest version in svn is this:
> http://ci.apache.org/projects/tomcat/tomcat6/docs/logging.html#Using_Log4j
>

BTW,
Log4J docs and out 5.5 docs start "conversionPattern" with an uppercase "C".

http://tomcat.apache.org/tomcat-5.5-doc/logging.html
http://logging.apache.org/log4j/1.2/manual.html

I expect it to work either way though, as Log4J normalizes the
property name before applying (o.a.log4j.config.PropertySetter calls
Introspector.decapitalize())


Best regards,
Konstantin Kolinko

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


Mime
View raw message