Mercurial > lada > lada-server
changeset 1090:4f52e8bc3572
Untabify config file and improve logging.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 13 Oct 2016 21:24:20 +0200 |
parents | 719129c13666 |
children | 8f2b1a8f2a73 |
files | src/test/resources/arquillian.xml src/test/resources/log4j.properties |
diffstat | 2 files changed, 15 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- 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