Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1678)

Unified Diff: net/test/test_server.cc

Issue 7024058: [Sync] Clean up sync logging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: even more logging Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/test/test_server.cc
diff --git a/net/test/test_server.cc b/net/test/test_server.cc
index aa704a8b7aa690261febcb36438b5bbe96581555..b6d3286dfc24d5285ba8092a4dc78dd704a4cef0 100644
--- a/net/test/test_server.cc
+++ b/net/test/test_server.cc
@@ -349,7 +349,7 @@ bool TestServer::AddCommandLineArguments(CommandLine* command_line) const {
command_line->AppendArgNative(FILE_PATH_LITERAL("--data-dir=") +
document_root_.value());
- if (logging::GetMinLogLevel() == logging::LOG_VERBOSE) {
+ if (VLOG_IS_ON(1)) {
Nicolas Zea 2011/06/07 19:55:24 Do we want this to also happen for higher verbosit
akalin 2011/06/07 20:17:38 I think so. VLOG_IS_ON(n) for n > 1 also implies
command_line->AppendArg("--log-to-console");
}
« chrome/browser/sync/engine/syncer_thread.cc ('K') | « chrome/test/live_sync/live_sync_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698