| Index: chrome/common/logging_chrome.cc
|
| diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
|
| index 8f676714335e5ad2481bdccc82fea7ac4eca6048..dc58f8d2c622e42a49d22a1596bb81f64a8065e5 100644
|
| --- a/chrome/common/logging_chrome.cc
|
| +++ b/chrome/common/logging_chrome.cc
|
| @@ -62,6 +62,7 @@
|
| #include <initguid.h>
|
| #include "base/logging_win.h"
|
| #include "base/syslog_logging.h"
|
| +#include "chrome/common/win/eventlog_messages.h"
|
| #include "chrome/install_static/install_details.h"
|
| #endif
|
|
|
| @@ -332,8 +333,9 @@ void InitChromeLogging(const base::CommandLine& command_line,
|
| LogEventProvider::Initialize(kChromeTraceProviderName);
|
|
|
| // Enable logging to the Windows Event Log.
|
| - SetEventSourceName(base::UTF16ToASCII(
|
| - install_static::InstallDetails::Get().install_full_name()));
|
| + SetEventSource(base::UTF16ToASCII(
|
| + install_static::InstallDetails::Get().install_full_name()),
|
| + BROWSER_CATEGORY, MSG_LOG_MESSAGE);
|
| #endif
|
|
|
| base::StatisticsRecorder::InitLogOnShutdown();
|
|
|