[jboss-user] [Beginners Corner] - JBoss failed for stress test? Or Log4j?

gan.gary do-not-reply at jboss.com
Thu Jul 3 20:43:43 EDT 2008


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162417#4162417

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162417



More information about the jboss-user mailing list