IIS: Changes event ID (Issue #676)

ModSecurityIIS was reporting events to Windows using ID 0
which seems cause an unexpected verbose message at the
event logger window as reported on #676, changing the ID
to 0x1, although will be nice to have separated events for
misconfiguration, warnings, etc...
This commit is contained in:
Felipe "Zimmerle" Costa 2014-05-23 09:35:00 -03:00
parent 0f7cbced8c
commit d4c2b96b89

View File

@ -1310,7 +1310,7 @@ BOOL CMyHttpModule::WriteEventViewerLog(LPCSTR szNotification, WORD category)
// Write any strings to the Event Viewer and return.
return ReportEvent(
m_hEventLog,
category, 0, 0,
category, 0, 0x1,
NULL, 1, 0, &szNotification, NULL );
}
return FALSE;