All, I think that I have found a problem in the documentation for setting up log4j.properties at http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j. The same text is on the tomcat 6.0 documentation. It specifies
log4j.appender.CATALINA.conversionPattern = %d [%t] %-5p %c- %m%n When I run that I receive the following exception log4j:ERROR Could not find value for key log4j.appender.CATALINA.layout log4j:WARN No such property [conversionPattern] in org.apache.log4j.DailyRollingFileAppender. log4j:ERROR No layout set for the appender named [CATALINA]. It works fine if I update the setting to log4j.appender.CATALINA.layout.conversionPattern = %d [%t] %-5p %c- %m%n log4j.appender.CATALINA.layout=org.apache.log4j.PatternLayout The same issue is present for catalina, localhost, manager, host-manager and console appenders. Is this something that I am doing wrong, or is the documentation wrong? Chris P.S. assuming that the documentation is wrong, does everybody stick with juli logging? I mean if this has been wrong since v6, nobody can be using it right? I guess juli logging provides everything most people need?