Index: base/test/test_suite.cc |
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc |
index 7d25a606c8dd2e6edbf092fa3c8c7bef6b618208..110ce0b55b9d900c4a7347c286435485f3a777ca 100644 |
--- a/base/test/test_suite.cc |
+++ b/base/test/test_suite.cc |
@@ -177,10 +177,12 @@ void TestSuite::Initialize() { |
FilePath exe; |
PathService::Get(base::FILE_EXE, &exe); |
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::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); |
// 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); |