mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
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:
parent
0f7cbced8c
commit
d4c2b96b89
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user