Hallo,

I'm using the DailyRollingFileAppender. The Tomcat runs 24/7. But I've to 
restart Tomcat to get a new log file. It seams that log4j only log until 
midnight. So I lost information.
Here is my configuration:


  <appender name="oneFilePerDay" 
class="org.apache.log4j.DailyRollingFileAppender">
    <param name="datePattern" value="'.'yyyy-MM-dd" />
    <param name="file" value="logs/portal.log" />
    <param name="Append" value="true" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d{ISO8601} %-5p %c{1}:%L - %m%n" 
/>
    </layout>
  </appender>


After restarting the server it works fine, but when I came to work in the 
morning no new log file is started and there're no new log entries since the 
last day.

What can I do?
Thanking you in anticipation,
Gerrit



HERMES Einrichtungs Service GmbH & Co.KG, Friedrichstr. 18, 32584 L?hne - AG 
Hamburg HR A 100286
Komplement?r: Verwaltungsgesellschaft HERMES Einrichtungs Service mbH - AG 
Hamburg HR B 79507
Gesch?ftsf?hrer: Dirk Rahn, Michael Dildey


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to