Index: chrome/installer/util/logging_installer.cc |
diff --git a/chrome/installer/util/logging_installer.cc b/chrome/installer/util/logging_installer.cc |
index 2e47269db801556cc597464089420ed69f5f6817..f31ceac28eb429bf2b1e84aceec74af3580bc20c 100644 |
--- a/chrome/installer/util/logging_installer.cc |
+++ b/chrome/installer/util/logging_installer.cc |
@@ -89,12 +89,10 @@ void InitInstallerLogging(const installer::MasterPreferences& prefs) { |
base::FilePath log_file_path(GetLogFilePath(prefs)); |
TruncateLogFileIfNeeded(log_file_path); |
- logging::InitLogging( |
- log_file_path.value().c_str(), |
- logging::LOG_ONLY_TO_FILE, |
- 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_FILE; |
+ settings.log_file = log_file_path.value().c_str(); |
+ logging::InitLogging(settings); |
if (prefs.GetBool(installer::master_preferences::kVerboseLogging, |
&value) && value) { |