-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates integration tests and benchmarks to use log4j (#224)
Similar to Brave, we don't want a large amount of clutter. To reduce a lot of it, I moved anything that uses MockWebServer to an IT (because it spams logs). I didn't move normal tests to log4j because we have a log capturing test that would fail. If someone wants to take a pass later at that, they could. Signed-off-by: Adrian Cole <adrian@tetrate.io>
- Loading branch information
1 parent
70d7855
commit 8e86704
Showing
27 changed files
with
191 additions
and
215 deletions.
There are no files selected for viewing
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
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,8 @@ | ||
appenders=console | ||
appender.console.type=Console | ||
appender.console.name=STDOUT | ||
appender.console.layout.type=PatternLayout | ||
appender.console.layout.pattern=%d{ABSOLUTE} %-5p [%t] %C{2} (%F:%L) - %m%n | ||
rootLogger.level=warn | ||
rootLogger.appenderRefs=stdout | ||
rootLogger.appenderRef.stdout.ref=STDOUT |
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
appenders=console | ||
appender.console.type=Console | ||
appender.console.name=STDOUT | ||
appender.console.layout.type=PatternLayout | ||
appender.console.layout.pattern=%d{ABSOLUTE} %-5p [%t] %C{2} (%F:%L) - %m%n | ||
rootLogger.level=warn | ||
rootLogger.appenderRefs=stdout | ||
rootLogger.appenderRef.stdout.ref=STDOUT |
This file was deleted.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
appenders=console | ||
appender.console.type=Console | ||
appender.console.name=STDOUT | ||
appender.console.layout.type=PatternLayout | ||
appender.console.layout.pattern=%d{ABSOLUTE} %-5p [%t] %C{2} (%F:%L) - %m%n | ||
rootLogger.level=warn | ||
rootLogger.appenderRefs=stdout | ||
rootLogger.appenderRef.stdout.ref=STDOUT | ||
# uncomment to include kafka consumer configuration in test logs | ||
#logger.kafka-clients.name=org.apache.kafka.clients | ||
#logger.kafka-clients.level=info | ||
logger.kafkaunit.name=com.github.charithe.kafka | ||
logger.kafkaunit.level=off | ||
logger.kafka.name=zipkin2.reporter.kafka | ||
logger.kafka.level=debug |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
appenders=console | ||
appender.console.type=Console | ||
appender.console.name=STDOUT | ||
appender.console.layout.type=PatternLayout | ||
appender.console.layout.pattern=%d{ABSOLUTE} %-5p [%t] %C{2} (%F:%L) - %m%n | ||
rootLogger.level=warn | ||
rootLogger.appenderRefs=stdout | ||
rootLogger.appenderRef.stdout.ref=STDOUT | ||
# uncomment to include kafka consumer configuration in test logs | ||
#logger.kafka-clients.name=org.apache.kafka.clients | ||
#logger.kafka-clients.level=info | ||
logger.kafka.name=zipkin2.reporter.kafka | ||
logger.kafka.level=debug | ||
|
||
# hush the unit test runner | ||
logger.BrokerMetadataCheckpoint.name=kafka.server.BrokerMetadataCheckpoint | ||
logger.BrokerMetadataCheckpoint.level=off | ||
|
||
# don't waste logs when ZK check fails | ||
logger.ClientCnxn.name=org.apache.zookeeper.ClientCnxn | ||
logger.ClientCnxn.level=off | ||
logger.NetworkClient.name=org.apache.kafka.clients.NetworkClient | ||
logger.NetworkClient.level=off |
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
appenders=console | ||
appender.console.type=Console | ||
appender.console.name=STDOUT | ||
appender.console.layout.type=PatternLayout | ||
appender.console.layout.pattern=%d{ABSOLUTE} %-5p [%t] %C{2} (%F:%L) - %m%n | ||
rootLogger.level=warn | ||
rootLogger.appenderRefs=stdout | ||
rootLogger.appenderRef.stdout.ref=STDOUT |
This file was deleted.
Oops, something went wrong.
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
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
17 changes: 0 additions & 17 deletions
17
okhttp3/src/it/okhttp3_v3/src/test/java/brave/okhttp3_v3/OkHttpSenderTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.