[Lada-commits] [PATCH 1 of 2] Untabify config file and improve logging
Wald Commits
scm-commit at wald.intevation.org
Thu Oct 13 21:27:00 CEST 2016
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1476386660 -7200
# Node ID 4f52e8bc357281d5e1d7d2c34b07f8ba03a2c19b
# Parent 719129c13666d5a3d9b84ff0efcfc54e83022983
Untabify config file and improve logging.
diff -r 719129c13666 -r 4f52e8bc3572 src/test/resources/arquillian.xml
--- a/src/test/resources/arquillian.xml Thu Oct 13 19:46:28 2016 +0200
+++ b/src/test/resources/arquillian.xml Thu Oct 13 21:24:20 2016 +0200
@@ -20,7 +20,7 @@
xsi:schemaLocation="http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
- <!-- Uncomment to have test archives exported to the file system for inspection -->
+ <!-- Uncomment to have test archives exported to the file system for inspection -->
<!-- <engine> -->
<!-- <property name="deploymentExportPath">target/</property> -->
<!-- </engine> -->
@@ -29,14 +29,20 @@
<defaultProtocol type="Servlet 3.0" />
<!-- Example configuration for a remote JBoss Enterprise Application Platform 6 or AS 7 instance -->
- <container qualifier="jboss" default="true">
- <!-- By default, arquillian will use the JBOSS_HOME environment variable. Alternatively, the configuration below can be uncommented. -->
+ <container qualifier="jboss" default="true">
+ <!-- By default, arquillian will use the JBOSS_HOME environment variable. Alternatively, the configuration below can be uncommented. -->
<!--<configuration> -->
<!--<property name="jbossHome">/path/to/jboss/as</property> -->
<!--</configuration> -->
- </container>
- <extension qualifier="persistence-dbunit">
- <property name="qualifiedTableNames">true</property>
- </extension>
+ </container>
+ <extension qualifier="persistence">
+ <property name="defaultDataSource">land</property>
+ </extension>
+ <extension qualifier="persistence-dbunit">
+ <property name="qualifiedTableNames">true</property>
+ </extension>
+ <extension qualifier="persistence-script">
+ <property name="showSql">true</property>
+ </extension>
</arquillian>
diff -r 719129c13666 -r 4f52e8bc3572 src/test/resources/log4j.properties
--- a/src/test/resources/log4j.properties Thu Oct 13 19:46:28 2016 +0200
+++ b/src/test/resources/log4j.properties Thu Oct 13 21:24:20 2016 +0200
@@ -2,10 +2,11 @@
log4j.logger.org.apache.http=INFO
log4j.logger.org.xnio=WARN
log4j.logger.org.hibernate=INFO
+log4j.logger.org.jboss=INFO
log4j.appender.lada=org.apache.log4j.RollingFileAppender
log4j.appender.lada.File=log/lada-server-test.log
log4j.appender.lada.MaxFileSize=5MB
log4j.appender.lada.MaxBackupIndex=5
log4j.appender.lada.layout=org.apache.log4j.PatternLayout
-log4j.appender.lada.layout.ConversionPattern=%d: %m%n
+log4j.appender.lada.layout.ConversionPattern=%d{HH:mm:ss,sss}: %-5p %c{1} - %m%n
log4j.logger.org.dbunit=ERROR
More information about the Lada-commits
mailing list