ocr: Figure 1 Registry modifications required for logging events HKEY_LOCAL_MACHINESYSTEMICUIent.controlsetsersenServicestEvenit.og A Add subkey application for Application Security System your YourAppName Add this subkey with a value of EventMessagerile TypesSupported EVENTLOG_ERHOR_IYPE - EVENTLOG_WARNING_TYPE E EVENTLOG INFORMATIONALLIYPE B Add subkey whose value is the path of your message file.