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

Unified Diff: net/disk_cache/stress_cache.cc

Issue 16519003: Define a LoggingSettings struct to use for InitLogging() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error Created 7 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
« no previous file with comments | « media/tools/player_x11/player_x11.cc ('k') | net/tools/flip_server/flip_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/stress_cache.cc
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index 65eb01abc1810962d76ba5ab92ea638b7cdb80e1..0da984509f60ac2ce9513e0116d3f9828448d9f8 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -270,9 +270,9 @@ int main(int argc, const char* argv[]) {
logging::LogEventProvider::Initialize(kStressCacheTraceProviderName);
#else
CommandLine::Init(argc, argv);
- logging::InitLogging(NULL, logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG,
- logging::LOCK_LOG_FILE, logging::DELETE_OLD_LOG_FILE,
- logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS);
+ logging::LoggingSettings settings;
+ settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
+ logging::InitLogging(settings);
#endif
// Some time for the memory manager to flush stuff.
« no previous file with comments | « media/tools/player_x11/player_x11.cc ('k') | net/tools/flip_server/flip_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698