tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1133188 - /tomcat/tc6.0.x/trunk/webapps/docs/logging.xml
Date Tue, 07 Jun 2011 22:49:42 GMT
Author: kkolinko
Date: Tue Jun  7 22:49:42 2011
New Revision: 1133188

URL: http://svn.apache.org/viewvc?rev=1133188&view=rev
Log:
Align log4j configuration example with log4j documentation: start property names with an uppercase
character.
Remove <br>s from the end of lines. They are not needed inside the <source> tag.
CTR: docs

Modified:
    tomcat/tc6.0.x/trunk/webapps/docs/logging.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/logging.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/logging.xml?rev=1133188&r1=1133187&r2=1133188&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/logging.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/logging.xml Tue Jun  7 22:49:42 2011
@@ -417,50 +417,50 @@ java.util.logging.ConsoleHandler.formatt
 log4j.rootLogger=INFO, CATALINA
 
 # Define all the appenders
-log4j.appender.CATALINA=org.apache.log4j.DailyRollingFileAppender<br />
-log4j.appender.CATALINA.file=${catalina.base}/logs/catalina.<br />
-log4j.appender.CATALINA.encoding=UTF-8<br />
-# Roll-over the log once per day<br />
-log4j.appender.CATALINA.DatePattern='.'yyyy-MM-dd'.log'<br />
+log4j.appender.CATALINA=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.CATALINA.File=${catalina.base}/logs/catalina.
+log4j.appender.CATALINA.Append=true
+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 = org.apache.log4j.PatternLayout
-log4j.appender.CATALINA.layout.conversionPattern = %d [%t] %-5p %c- %m%n<br />
-log4j.appender.CATALINA.append=true<br />
-<br />
-log4j.appender.LOCALHOST=org.apache.log4j.DailyRollingFileAppender<br />
-log4j.appender.LOCALHOST.file=${catalina.base}/logs/localhost.<br />
-log4j.appender.LOCALHOST.encoding=UTF-8<br />
-log4j.appender.LOCALHOST.DatePattern='.'yyyy-MM-dd'.log'<br />
+log4j.appender.CATALINA.layout.ConversionPattern = %d [%t] %-5p %c- %m%n
+
+log4j.appender.LOCALHOST=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.LOCALHOST.File=${catalina.base}/logs/localhost.
+log4j.appender.LOCALHOST.Append=true
+log4j.appender.LOCALHOST.Encoding=UTF-8
+log4j.appender.LOCALHOST.DatePattern='.'yyyy-MM-dd'.log'
 log4j.appender.LOCALHOST.layout = org.apache.log4j.PatternLayout
-log4j.appender.LOCALHOST.layout.conversionPattern = %d [%t] %-5p %c- %m%n<br />
-log4j.appender.LOCALHOST.append=true<br />
+log4j.appender.LOCALHOST.layout.ConversionPattern = %d [%t] %-5p %c- %m%n
 
-log4j.appender.MANAGER=org.apache.log4j.DailyRollingFileAppender<br />
-log4j.appender.MANAGER.file=${catalina.base}/logs/manager.<br />
-log4j.appender.MANAGER.encoding=UTF-8<br />
-log4j.appender.MANAGER.DatePattern='.'yyyy-MM-dd'.log'<br />
+log4j.appender.MANAGER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.MANAGER.File=${catalina.base}/logs/manager.
+log4j.appender.MANAGER.Append=true
+log4j.appender.MANAGER.Encoding=UTF-8
+log4j.appender.MANAGER.DatePattern='.'yyyy-MM-dd'.log'
 log4j.appender.MANAGER.layout = org.apache.log4j.PatternLayout
-log4j.appender.MANAGER.layout.conversionPattern = %d [%t] %-5p %c- %m%n<br />
-log4j.appender.MANAGER.append=true<br />
+log4j.appender.MANAGER.layout.ConversionPattern = %d [%t] %-5p %c- %m%n
 
-log4j.appender.HOST-MANAGER=org.apache.log4j.DailyRollingFileAppender<br />
-log4j.appender.HOST-MANAGER.file=${catalina.base}/logs/host-manager.<br />
-log4j.appender.HOST-MANAGER.encoding=UTF-8<br />
-log4j.appender.HOST-MANAGER.DatePattern='.'yyyy-MM-dd'.log'<br />
+log4j.appender.HOST-MANAGER=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.HOST-MANAGER.File=${catalina.base}/logs/host-manager.
+log4j.appender.HOST-MANAGER.Append=true
+log4j.appender.HOST-MANAGER.Encoding=UTF-8
+log4j.appender.HOST-MANAGER.DatePattern='.'yyyy-MM-dd'.log'
 log4j.appender.HOST-MANAGER.layout = org.apache.log4j.PatternLayout
-log4j.appender.HOST-MANAGER.layout.conversionPattern = %d [%t] %-5p %c- %m%n<br />
-log4j.appender.HOST-MANAGER.append=true<br />
+log4j.appender.HOST-MANAGER.layout.ConversionPattern = %d [%t] %-5p %c- %m%n
 
-log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender<br />
-log4j.appender.CONSOLE.encoding=UTF-8<br />
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Encoding=UTF-8
 log4j.appender.CONSOLE.layout = org.apache.log4j.PatternLayout
-log4j.appender.CONSOLE.layout.conversionPattern = %d [%t] %-5p %c- %m%n<br />
-<br />
-# Configure which loggers log to which appenders<br />
-log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=INFO, LOCALHOST<br
/>
-log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager]=\<br
/>
-  INFO, MANAGER<br />
-log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager]=\<br
/>
-  INFO, HOST-MANAGER<br />
+log4j.appender.CONSOLE.layout.ConversionPattern = %d [%t] %-5p %c- %m%n
+
+# Configure which loggers log to which appenders
+log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=INFO, LOCALHOST
+log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager]=\
+  INFO, MANAGER
+log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager]=\
+  INFO, HOST-MANAGER
 </source>
     <ol start="2">
         <li><a href="http://logging.apache.org/log4j">Download Log4J</a>




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


Mime
View raw message