Browse Source

ditch log4j

git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/jdk8@1232 f203690c-595d-4dc9-a70b-905162fa7fd2
tags/jackcess-3.0.0
James Ahlborn 5 years ago
parent
commit
322126f37d

+ 3
- 10
pom.xml View File

<threadCount>2</threadCount> <threadCount>2</threadCount>
<systemProperties> <systemProperties>
<property> <property>
<name>log4j.configuration</name>
<value>log4j_test.properties</value>
<name>java.util.logging.config.file</name>
<value>logging_test.properties</value>
</property> </property>
<property> <property>
<name>com.healthmarketscience.jackcess.testFormats</name> <name>com.healthmarketscience.jackcess.testFormats</name>
<artifactId>commons-logging</artifactId> <artifactId>commons-logging</artifactId>
<version>1.2</version> <version>1.2</version>
</dependency> </dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.7</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.11</version>
<version>4.12</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>



+ 0
- 6
src/main/resources/com/healthmarketscience/jackcess/log4j.properties View File

log4j.rootCategory=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=**** %-5p %d{MMM d HH:mm:ss} [%F] - %m%n

log4j.category.com.healthmarketscience.jackcess=INFO

+ 0
- 6
src/test/resources/log4j_test.properties View File

log4j.rootCategory=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=**** %-5p %d{MMM d HH:mm:ss} [%F] - %m%n

log4j.category.com.healthmarketscience.jackcess=ERROR

+ 1
- 0
src/test/resources/logging_test.properties View File

com.healthmarketscience.jackcess.level=SEVERE

Loading…
Cancel
Save