Author: markt Date: Wed Jul 10 11:53:43 2013 New Revision: 1501738 URL: http://svn.apache.org/r1501738 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55215 Remove unnecessary period at the end of file names Use space around = in properties consistently. Based on a patch by Brian Burch.
Modified: tomcat/trunk/webapps/docs/logging.xml Modified: tomcat/trunk/webapps/docs/logging.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/logging.xml?rev=1501738&r1=1501737&r2=1501738&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/logging.xml (original) +++ tomcat/trunk/webapps/docs/logging.xml Wed Jul 10 11:53:43 2013 @@ -424,52 +424,52 @@ java.util.logging.ConsoleHandler.formatt following content and save it into <code>$CATALINA_BASE/lib</code></li> </ol> <source> -log4j.rootLogger=INFO, CATALINA +log4j.rootLogger = INFO, CATALINA # Define all the appenders -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 +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.DatePattern = '.'yyyy-MM-dd'.log' log4j.appender.CATALINA.layout = org.apache.log4j.PatternLayout 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 = 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 -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 = 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 -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 = 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 -log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender -log4j.appender.CONSOLE.Encoding=UTF-8 +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 # 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]=\ +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]=\ +log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager] =\ INFO, HOST-MANAGER </source> <ol start="2"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org