logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arturo Martinez <art...@nmp.es>
Subject DailyRollingFileAppender
Date Mon, 02 Apr 2001 16:46:52 GMT
Where can I find more information about DailyRollingFileAppender.
When does it write the new file? what means at midnight? What happens if
the server is down at midnigth?

I have this configuration file:

<?xml version="1.0" encoding="UTF-8" ?>
<!--<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


    <appender name="A1"
      <param name="File"
      <param name="DatePattern"   value="'.'yyyy-MM-dd" />
      <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%t %-5p %c{2} - %m\n"/>

    <appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
      <param name="File" value="System.out" />

      <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern"
          value="%d %-5p [%t] %C{2} (%F:%L) - %m\n"/>

    <category name="es.nmp">
      <priority value="debug" />
      <appender-ref ref="A1" />

      <priority value ="debug" />
      <appender-ref ref="STDOUT" />


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

View raw message