Index: chrome/installer/gcapi/gcapi_dll.cc |
diff --git a/chrome/installer/gcapi/gcapi_dll.cc b/chrome/installer/gcapi/gcapi_dll.cc |
index 744321a516ae41b35dde5ab7c72dd06d784b4f4b..cb512e40b0c6be0425598d8d6cb2cb5e6b9a7508 100644 |
--- a/chrome/installer/gcapi/gcapi_dll.cc |
+++ b/chrome/installer/gcapi/gcapi_dll.cc |
@@ -22,12 +22,9 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE instance, |
if (reason == DLL_PROCESS_ATTACH) { |
g_exit_manager = new base::AtExitManager(); |
CommandLine::Init(0, NULL); |
- 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); |
} else if (reason == DLL_PROCESS_DETACH) { |
CommandLine::Reset(); |
delete g_exit_manager; |