-
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.
Browse files
Browse the repository at this point in the history
* Port from v4 * Corrected package misspelling in log4j.properties and removed System.exit from Main.java * Responded to code review comments
- Loading branch information
1 parent
cda2b92
commit 3ca8508
Showing
23 changed files
with
477 additions
and
302 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/microsoft-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.data.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.azure.cosmos.internal.caches=INFO | ||
log4j.category.com.azure.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.