8 Replies Latest reply on Jul 6, 2008 4:12 AM by gan.gary

    JBoss failed for stress test? Or Log4j?

    gan.gary Novice

      I have a Vb6 client that consume JBoss/Hibernate. While doing the stress test for overnight, VB6 run completely and JBoss is still up but data processed half. And I found the log produced is with size: 4.01 GB (4,314,379,264 bytes) with this setting:

      <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
       <param name="File" value="${jboss.server.log.dir}/server.log"/>
       <param name="Append" value="false"/>
      
       <!-- Rollover at midnight each day -->
       <param name="DatePattern" value="'.'yyyy-MM-dd"/>
      
       <!-- Rollover at the top of each hour
       <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
       -->
      
       <layout class="org.apache.log4j.PatternLayout">
       <!-- The default pattern: Date Priority [Category] Message\n -->
       <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
      
       <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
       <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
       -->
       </layout>
       </appender>

      Is it a known issue for JBoss? Do I need to turn on the file-rolling?