Skip to content

Commit

Permalink
More logging cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Dec 2, 2015
1 parent 138eb08 commit 3db3d45
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
target/
.DS_Store
dependency-reduced-pom.xml

derby.log
9 changes: 7 additions & 2 deletions integration-tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/target/
.DS_Store
.classpath
.project
.settings/
target/
.DS_Store
dependency-reduced-pom.xml
derby.log


4 changes: 3 additions & 1 deletion integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@
</container>
<configuration>
<properties>
<cargo.logging>high</cargo.logging>
<cargo.servlet.uriencoding>UTF-8</cargo.servlet.uriencoding>
<cargo.jvmargs>-Xmx512m</cargo.jvmargs>
<cargo.logging>low</cargo.logging>
<cargo.servlet.port>${dynamic.test.port}</cargo.servlet.port>
</properties>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<appender-ref ref="FEDORA"/>
<appender-ref ref="STDOUT"/>
</logger>

<logger name="org.fcrepo.server.resourceIndex" additivity="false" level="DEBUG">
<appender-ref ref="FEDORA"/>
</logger>
Expand All @@ -41,7 +40,9 @@
<logger name="org.apache.http" additivity="false" level="WARN">
<appender-ref ref="STDOUT"/>
</logger>

<logger name="httpclient.wire" additivity="false" level="WARN">
<appender-ref ref="STDOUT"/>
</logger>
<root additivity="false" level="WARN">
<appender-ref ref="FEDORA"/>
</root>
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ log4j.logger.org.apache.jena.tdb.loader=INFO
log4j.additivity.org.apache.jena.riot=false
log4j.logger.org.apache.jena.riot=INFO, jena.plainstdout

log4j.additivity.org.apache.http.headers=false
log4j.logger.org.apache.http.headers=WARN
log4j.logger.httpclient.wire.header=WARN
log4j.logger.httpclient.wire.content=WARN
2 changes: 1 addition & 1 deletion integration-tests/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<logger name="com.asoroka.trippi.impl" additivity="false" level="${testLogLevel:DEBUG}">
<appender-ref ref="STDOUT"/>
</logger>
<root additivity="false" level="INFO">
<root additivity="false" level="WARN">
<appender-ref ref="STDOUT"/>
</root>
</configuration>
9 changes: 9 additions & 0 deletions trippi-sparql/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.classpath
.project
.settings/
target/
.DS_Store
dependency-reduced-pom.xml
derby.log


0 comments on commit 3db3d45

Please sign in to comment.