You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Raul Carazo <jn...@yahoo.es> on 2004/11/17 13:06:21 UTC

Problems with DailyRollingFileAppender

I use Log4J for a time, but I never have seen this
problem...

We have set a DailyRollingFileAppender for our logs,
but it doesn't roll over at midnight. It runs in a
server, but it's restarted every morning (at 7AM, more
or less), so at midnight it's running...

This is the configFile

<appender name="STDOUT"
class="org.apache.log4j.DailyRollingFileAppender">
		<param name="ImmediateFlush" value="true"/>
		<param name="File"
value="/datos/p15/log/salida.log"/>
		<param name="datePattern" value="'.'yyyy-MM-dd"/>
		<layout class="org.apache.log4j.PatternLayout">
  		     <param name="ConversionPattern" value="%-5p
[%d{ISO8601}](%C{2}.%M():%L) - %m%n"/>
		</layout>
</appender>


	
	
		
______________________________________________
Renovamos el Correo Yahoo!: ¡100 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es

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