-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Direct TCP: address read-my-writes test failure (#6201)
* Diagnostic improvements based on recent changes to 2.6.X * Tweaked diagnostic messages * Tweaks for diagnostics * Tweaks for cloud test runs * Tweaks for performance test run * Tidied two files and tweaked ReadMyWriteWorkflow for performace test run on cloud * Tidied some code and tweaked DEBUG messages for performance test run * Changes for verifying cross-partition query fix on azure cloud * Changes for verifying cross-partition query fix on azure cloud * Switched from DEBUG to INFO-level logging * Tweaked benchmark logger settings * Added a newline
- Loading branch information
David Noble
authored
Nov 7, 2019
1 parent
987324a
commit b4029c2
Showing
26 changed files
with
502 additions
and
320 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
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
37 changes: 26 additions & 11 deletions
37
sdk/cosmos/azure-cosmos-benchmark/src/main/resources/log4j.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 |
---|---|---|
@@ -1,14 +1,29 @@ | ||
# this is the log4j configuration for tests | ||
# This is the log4j configuration for benchmarks | ||
|
||
# Set root logger level to DEBUG and its only appender to A1. | ||
log4j.rootLogger=INFO, A1 | ||
log4j.rootLogger=INFO, Console | ||
|
||
log4j.category.com.azure.cosmos.internal.directconnectivity.rntbd=WARN | ||
log4j.category.io.netty=INFO | ||
log4j.category.io.reactivex=INFO | ||
# A1 is set to be a ConsoleAppender. | ||
log4j.appender.A1=org.apache.log4j.ConsoleAppender | ||
log4j.category.com.azure.cosmos=INFO | ||
log4j.category.com.azure.cosmos.benchmark=INFO | ||
log4j.category.com.azure.cosmos.internal=INFO | ||
log4j.category.com.aure.cosmos.internal.caches=INFO | ||
log4j.category.com.aure.cosmos.internal.changefeed=INFO | ||
log4j.category.com.azure.cosmos.internal.directconnectivity=INFO | ||
log4j.category.com.azure.cosmos.internal.directconnectivity.rntbd=INFO | ||
log4j.category.com.azure.cosmos.internal.http=INFO | ||
log4j.category.com.azure.cosmos.internal.query=INFO | ||
log4j.category.com.azure.cosmos.internal.query.aggregation=INFO | ||
log4j.category.com.azure.cosmos.internal.query.metrics=INFO | ||
log4j.category.com.azure.cosmos.internal.query.orderbyquery=INFO | ||
log4j.category.com.azure.cosmos.internal.routing=INFO | ||
|
||
# A1 uses PatternLayout. | ||
log4j.appender.A1.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.A1.layout.ConversionPattern=%d %5X{pid} [%t] %-5p %c - %m%n | ||
log4j.category.com.azure.cosmos.internal.directconnectivity.RntbdTransportClient=INFO | ||
log4j.category.com.azure.cosmos.internal.directconnectivity.rntbd.RntbdRequestManager=INFO | ||
|
||
log4j.appender.Console=org.apache.log4j.ConsoleAppender | ||
log4j.appender.Console.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.Console.layout.ConversionPattern=%d %5X{pid} [%t] %-5p %c - %m%n | ||
|
||
log4j.appender.LogFile=org.apache.log4j.FileAppender | ||
log4j.appender.LogFile.File=${azure.cosmos.logger.directory}/azure-cosmos-benchmark.log | ||
log4j.appender.LogFile.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.LogFile.layout.ConversionPattern=[%d][%p][${azure.cosmos.hostname}][thread:%t][logger:%c] %m%n |
Oops, something went wrong.