Index: base/test/test_suite.cc |
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc |
index 07b9964578a4a860712524443bf977505ef7119c..a4b1780e38cc1f96532e9b172ee152a38b9281e0 100644 |
--- a/base/test/test_suite.cc |
+++ b/base/test/test_suite.cc |
@@ -221,12 +221,11 @@ void TestSuite::Initialize() { |
base::FilePath exe; |
PathService::Get(base::FILE_EXE, &exe); |
base::FilePath log_filename = exe.ReplaceExtension(FILE_PATH_LITERAL("log")); |
- logging::InitLogging( |
- log_filename.value().c_str(), |
- logging::LOG_TO_BOTH_FILE_AND_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_ALL; |
+ settings.log_file = log_filename.value().c_str(); |
+ settings.delete_old = logging::DELETE_OLD_LOG_FILE; |
+ logging::InitLogging(settings); |
// We want process and thread IDs because we may have multiple processes. |
// Note: temporarily enabled timestamps in an effort to catch bug 6361. |
logging::SetLogItems(true, true, true, true); |