[jboss-cvs] JBossAS SVN: r93559 - in projects/jboss-jca/trunk: deployers and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 15 15:43:56 EDT 2009


Author: jesper.pedersen
Date: 2009-09-15 15:43:54 -0400 (Tue, 15 Sep 2009)
New Revision: 93559

Added:
   projects/jboss-jca/trunk/deployers/src/test/resources/jndi.properties
   projects/jboss-jca/trunk/deployers/src/test/resources/logging.properties
Modified:
   projects/jboss-jca/trunk/core/src/test/resources/logging.properties
   projects/jboss-jca/trunk/deployers/build.xml
Log:
Separate logging

Modified: projects/jboss-jca/trunk/core/src/test/resources/logging.properties
===================================================================
--- projects/jboss-jca/trunk/core/src/test/resources/logging.properties	2009-09-15 19:42:01 UTC (rev 93558)
+++ projects/jboss-jca/trunk/core/src/test/resources/logging.properties	2009-09-15 19:43:54 UTC (rev 93559)
@@ -53,7 +53,7 @@
 handler.FILE.level=${jboss.jca.log.file.level:DEBUG}
 handler.FILE.properties=autoFlush,fileName
 handler.FILE.autoFlush=true
-handler.FILE.fileName=${test.dir}/test.log
+handler.FILE.fileName=${test.dir}/core/test.log
 handler.FILE.formatter=PATTERN
 
 # Formatter pattern configuration

Modified: projects/jboss-jca/trunk/deployers/build.xml
===================================================================
--- projects/jboss-jca/trunk/deployers/build.xml	2009-09-15 19:42:01 UTC (rev 93558)
+++ projects/jboss-jca/trunk/deployers/build.xml	2009-09-15 19:43:54 UTC (rev 93559)
@@ -308,8 +308,12 @@
            timeout="${junit.timeout}">
       
       <jvmarg line="${junit.jvm.options}"/>
+      <sysproperty key="archives.dir" value="${build.deployers.dir}"/>
+      <sysproperty key="java.util.logging.manager" value="org.jboss.logmanager.LogManager"/>
+      <sysproperty key="log4j.defaultInitOverride" value="true"/>
+      <sysproperty key="org.jboss.logging.Logger.pluginClass" value="org.jboss.logging.logmanager.LoggerPluginImpl"/>
       <sysproperty key="test.dir" value="${test.dir}"/>
-      <sysproperty key="archives.dir" value="${build.deployers.dir}"/>
+      <sysproperty key="xb.builder.useUnorderedSequence" value="true"/>
       
       <classpath>
         <pathelement location="${build.deployers.dir}/test"/>
@@ -350,7 +354,12 @@
            timeout="${junit.timeout}">
       
       <jvmarg line="${junit.jvm.options}"/>
+      <sysproperty key="archives.dir" value="${build.deployers.dir}"/>
+      <sysproperty key="java.util.logging.manager" value="org.jboss.logmanager.LogManager"/>
+      <sysproperty key="log4j.defaultInitOverride" value="true"/>
+      <sysproperty key="org.jboss.logging.Logger.pluginClass" value="org.jboss.logging.logmanager.LoggerPluginImpl"/>
       <sysproperty key="test.dir" value="${test.dir}"/>
+      <sysproperty key="xb.builder.useUnorderedSequence" value="true"/>
       
       <classpath>
         <pathelement location="${build.deployers.dir}/test"/>

Added: projects/jboss-jca/trunk/deployers/src/test/resources/jndi.properties
===================================================================
--- projects/jboss-jca/trunk/deployers/src/test/resources/jndi.properties	                        (rev 0)
+++ projects/jboss-jca/trunk/deployers/src/test/resources/jndi.properties	2009-09-15 19:43:54 UTC (rev 93559)
@@ -0,0 +1,2 @@
+java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory
+java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Added: projects/jboss-jca/trunk/deployers/src/test/resources/logging.properties
===================================================================
--- projects/jboss-jca/trunk/deployers/src/test/resources/logging.properties	                        (rev 0)
+++ projects/jboss-jca/trunk/deployers/src/test/resources/logging.properties	2009-09-15 19:43:54 UTC (rev 93559)
@@ -0,0 +1,62 @@
+#
+# JBoss, Home of Professional Open Source.
+# Copyright 2009, Red Hat Middleware LLC, and individual contributors
+# as indicated by the @author tags. See the copyright.txt file in the
+# distribution for a full listing of individual contributors.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this software; if not, write to the Free
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+#
+
+### $Id: $ ###
+
+# Additional logger names to configure (root logger is always configured)
+loggers=org.jboss.jca,org.jboss,org.jnp,com.arjuna
+
+# Root logger level
+logger.level=${jboss.jca.log.level:INFO}
+logger.handlers=CONSOLE, FILE
+
+# org.jboss.jca
+logger.org.jboss.jca.level=DEBUG
+
+# org.jboss
+logger.org.jboss.level=INFO
+
+# org.jnp
+logger.org.jnp.level=INFO
+
+# com.arjuna
+logger.com.arjuna.level=INFO
+
+# Console handler configuration
+handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
+handler.CONSOLE.properties=autoFlush
+handler.CONSOLE.level=${jboss.jca.log.console.level:INFO}
+handler.CONSOLE.autoFlush=true
+handler.CONSOLE.formatter=PATTERN
+
+# File handler configuration
+handler.FILE=org.jboss.logmanager.handlers.FileHandler
+handler.FILE.level=${jboss.jca.log.file.level:DEBUG}
+handler.FILE.properties=autoFlush,fileName
+handler.FILE.autoFlush=true
+handler.FILE.fileName=${test.dir}/deployers/test.log
+handler.FILE.formatter=PATTERN
+
+# Formatter pattern configuration
+formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter
+formatter.PATTERN.properties=pattern
+formatter.PATTERN.pattern=%d{HH:mm:ss,SSS} %-5p [%c{1}] %m%n




More information about the jboss-cvs-commits mailing list