Index: base/syslog_logging.cc |
diff --git a/base/syslog_logging.cc b/base/syslog_logging.cc |
index 2313856f9a62f23ea89d9c7d5055dfeab3fbab93..1d3daf9e83034f523bb48afe1058a7ba813e63ac 100644 |
--- a/base/syslog_logging.cc |
+++ b/base/syslog_logging.cc |
@@ -6,8 +6,6 @@ |
#include "base/syslog_logging.h" |
#if defined(OS_WIN) |
-#include "base/win/eventlog_messages.h" |
- |
#include <windows.h> |
#elif defined(OS_LINUX) |
#include <syslog.h> |
@@ -53,8 +51,10 @@ |
log_type = EVENTLOG_ERROR_TYPE; |
break; |
} |
- if (!ReportEventA(event_log_handle, log_type, BROWSER_CATEGORY, |
- MSG_LOG_MESSAGE, NULL, 1, 0, strings, NULL)) { |
+ // TODO(pastarmovj): Register Chrome's event log resource types to make the |
+ // entries nicer. 1337 is just a made up event id type. |
+ if (!ReportEventA(event_log_handle, log_type, 0, 1337, NULL, 1, 0, |
+ strings, NULL)) { |
stream() << " !!NOT ADDED TO EVENTLOG!!"; |
} |
DeregisterEventSource(event_log_handle); |