DescriptionSilence testserver logs when tests are run in non-verbose mode
The console output from testserver.py, chromiumsync.py and xmppserver.py during sync integration test runs is pretty chatty, and could do with being disabled by default. In addition, testserver.py spits out logs for non-sync tests even when the tests are run in non-verbose mode.
This patch adds a switch to testserver.py called "log-to-console", and ties it up to the logging level returned by logging::GetMinLogLevel(). This way, testserver logs are printed on the console (in addition to being written to testserver.log) when tests are run in verbose mode. However, when tests are run in non-verbose mode, testserver logs are only written to the log file, but not to the console.
BUG=71241
TEST=sync_integration_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73330
Patch Set 1 #
Total comments: 2
Patch Set 2 : Take 2. Use GetMinLogLevel instead of a separate flag. #
Messages
Total messages: 9 (0 generated)
|