Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure logging for Apache Geode, Spring and other libraries.
- Loading branch information
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
spring-geode-autoconfigure/src/test/resources/java-util-logging.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# java.util.logging (JUL) configuration | ||
|
||
org.apache=ERROR | ||
org.springframework=ERROR |
23 changes: 23 additions & 0 deletions
23
spring-geode-autoconfigure/src/test/resources/log4j2-test.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration status="error"> | ||
|
||
<Appenders> | ||
<Console name="Console" target="SYSTEM_OUT"> | ||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{1.} - %msg%n"/> | ||
</Console> | ||
<File name="File" fileName="build/logs/spring-test.log"> | ||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{1.} - %msg%n"/> | ||
</File> | ||
<Null name="nop"/> | ||
</Appenders> | ||
|
||
<Loggers> | ||
<Logger name="org.apache" level="error"/> | ||
<Logger name="org.springframework" level="error"/> | ||
<Root level="error"> | ||
<AppenderRef ref="Console"/> | ||
<!--AppenderRef ref="File" /--> | ||
</Root> | ||
</Loggers> | ||
|
||
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters