summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/logging_installer.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/installer/util/logging_installer.cc b/chrome/installer/util/logging_installer.cc
index 33cf342..6842832 100644
--- a/chrome/installer/util/logging_installer.cc
+++ b/chrome/installer/util/logging_installer.cc
@@ -16,6 +16,10 @@
#include "chrome/installer/util/master_preferences_constants.h"
#include "chrome/installer/util/util_constants.h"
+// {93BCE0BF-3FAF-43b1-9E28-BEB6FAB5ECE7}
+static const GUID kSetupTraceProvider = { 0x93bce0bf, 0x3faf, 0x43b1,
+ { 0x9e, 0x28, 0xbe, 0xb6, 0xfa, 0xb5, 0xec, 0xe7 } };
+
namespace installer {
// This should be true for the period between the end of
@@ -45,6 +49,9 @@ void InitInstallerLogging(const installer_util::MasterPreferences& prefs) {
logging::SetMinLogLevel(logging::LOG_ERROR);
}
+ // Enable ETW logging.
+ logging::LogEventProvider::Initialize(kSetupTraceProvider);
+
installer_logging_ = true;
}