[jboss-cvs] JBoss Messaging SVN: r7732 - in trunk: src/config/trunk/non-clustered and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 14 12:31:00 EDT 2009


Author: jmesnil
Date: 2009-08-14 12:31:00 -0400 (Fri, 14 Aug 2009)
New Revision: 7732

Modified:
   trunk/build-messaging.xml
   trunk/src/config/trunk/non-clustered/logging.properties
Log:
Logging configuration

* updated logging config used by the tests to cycle through 10 files 
  of 20MiB max which append logs
* fixed JMS tests logging to log in the same files than unit and
  integration tests

Modified: trunk/build-messaging.xml
===================================================================
--- trunk/build-messaging.xml	2009-08-14 15:39:00 UTC (rev 7731)
+++ trunk/build-messaging.xml	2009-08-14 16:31:00 UTC (rev 7732)
@@ -1173,7 +1173,7 @@
          <jvmarg value="-Xmx1024M"/>
          <jvmarg value="-Djava.library.path=native/bin"/>
          <jvmarg value="-Dmodule.output=./"/>
-         <jvmarg value="-Djava.util.logging.config.file=src/config/logging.properties"/>
+         <jvmarg value="-Djava.util.logging.config.file=src/config/trunk/non-clustered/logging.properties"/>
          <jvmarg
                value="-Dorg.jboss.logging.Logger.pluginClass=org.jboss.messaging.integration.logging.JBMLoggerPlugin"/>
          <!--<jvmarg line="-Xmx512M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>-->

Modified: trunk/src/config/trunk/non-clustered/logging.properties
===================================================================
--- trunk/src/config/trunk/non-clustered/logging.properties	2009-08-14 15:39:00 UTC (rev 7731)
+++ trunk/src/config/trunk/non-clustered/logging.properties	2009-08-14 16:31:00 UTC (rev 7732)
@@ -19,7 +19,11 @@
 java.util.logging.ConsoleHandler.formatter=org.jboss.messaging.integration.logging.JBMLoggerFormatter
 java.util.logging.FileHandler.level=INFO
 java.util.logging.FileHandler.formatter=org.jboss.messaging.integration.logging.JBMLoggerFormatter
-java.util.logging.FileHandler.pattern=logs/messaging.log
+# cycle through 10 files of 20MiB max which append logs
+java.util.logging.FileHandler.count=10
+java.util.logging.FileHandler.limit=20971520
+java.util.logging.FileHandler.append=true
+java.util.logging.FileHandler.pattern=logs/messaging.%g.log
 # Default global logging level.
 # This specifies which kinds of events are logged across
 # all loggers.  For any given facility this global level




More information about the jboss-cvs-commits mailing list