logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Thielen" <da...@windward.net>
Subject files not rolling over.
Date Mon, 26 Sep 2005 13:33:40 GMT
Hi;

After running all weekend my files tomcat.log and windward.log did not roll
over. stdout did. Here is my properties:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

	<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%5p [%t] %m -
%c %M%n"/>
		</layout>
	</appender>

	<appender name="tomcat"
class="org.apache.log4j.DailyRollingFileAppender">
		<param name="file"
value="${catalina.home}/logs/tomcat.log"/>
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern"
value="%d{HH:mm:ss.SSS} %5p [%t] %c - %m%n"/>
		</layout>
	</appender>

	<appender name="windward"
class="org.apache.log4j.DailyRollingFileAppender">
		<param name="file"
value="${catalina.home}/logs/windward.log"/>
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern"
value="%d{HH:mm:ss.SSS} %5p [%t] %c - %m%n"/>
		</layout>
	</appender>

	<logger name="net.windward" additivity="false">
		<level value="info"/>
		<appender-ref ref="windward" />
	</logger>
	<root>
		<priority value="warn" />
		<appender-ref ref="stdout" />
		<appender-ref ref="tomcat" />
	</root>

</log4j:configuration>


David Thielen
303-499-2544
www.windwardreports.com



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message