Index: chrome/tools/crash_service/main.cc |
diff --git a/chrome/tools/crash_service/main.cc b/chrome/tools/crash_service/main.cc |
index 525801d2d0b26138fb0a52d662aee5a0e798aede..de4b37a620a8d7c4127451c30587a594e0f8f763 100644 |
--- a/chrome/tools/crash_service/main.cc |
+++ b/chrome/tools/crash_service/main.cc |
@@ -46,12 +46,10 @@ int __stdcall wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd_line, |
// Logging to stderr (to help with debugging failures on the |
// buildbots) and to a file. |
- logging::InitLogging( |
- log_file.value().c_str(), |
- logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG, |
- logging::LOCK_LOG_FILE, |
- logging::APPEND_TO_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_file.value().c_str(); |
+ logging::InitLogging(settings); |
// Logging with pid, tid and timestamp. |
logging::SetLogItems(true, true, true, false); |