-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(logging): Add verbose logging and reroute to test files via mave…
…n failsafe plugin (#2295) test(logging): Add verbose logging and reroute to test files via maven failsafe plugin
- Loading branch information
Showing
8 changed files
with
30 additions
and
56 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
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
11 changes: 11 additions & 0 deletions
11
google-cloud-bigtable/src/test/resources/logging-verbose.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,11 @@ | ||
# Verbose logging configuration used by enable-verbose-grpc-logs profile. | ||
handlers= java.util.logging.ConsoleHandler | ||
.level= FINEST | ||
|
||
# hide "Connecting to the Bigtable emulator at localhost:XXXX" lines | ||
com.google.cloud.bigtable.data.v2.BigtableDataSettings.level=WARNING | ||
java.util.logging.ConsoleHandler.level = FINEST | ||
|
||
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter | ||
# time [level] loggerName: message | ||
java.util.logging.SimpleFormatter.format=%1$tT [%4$-7s] %2$s: %5$s%n |
13 changes: 4 additions & 9 deletions
13
google-cloud-bigtable/src/test/resources/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 |
---|---|---|
@@ -1,17 +1,12 @@ | ||
handlers= java.util.logging.ConsoleHandler | ||
.level= INFO | ||
|
||
# hide "Connecting to the Bigtable emulator at localhost:XXXX" lines | ||
com.google.cloud.bigtable.data.v2.BigtableDataSettings.level=WARNING | ||
java.util.logging.ConsoleHandler.level = INFO | ||
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter | ||
|
||
# Example to customize the SimpleFormatter output format | ||
# to print one-line log message like this: | ||
# <level>: <log message> [<date/time>] | ||
# | ||
|
||
#java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n | ||
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter | ||
# time [level] loggerName: message | ||
java.util.logging.SimpleFormatter.format=%1$tT [%4$-7s] %2$s: %5$s%n | ||
|
||
# hide "Connecting to the Bigtable emulator at localhost:XXXX" lines | ||
com.google.cloud.bigtable.data.v2.BigtableDataSettings.level=WARNING | ||
|