Fixed the XPATH query to retrieve log events.
This commit is contained in:
parent
ebe95af69e
commit
878e65fa30
|
@ -572,7 +572,7 @@ Pandora_Module_Logevent::getEventDescriptionXPATH (PEVENTLOGRECORD pevlr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build the XPATH query
|
// Build the XPATH query
|
||||||
query = "Event/System[EventID=" + inttostr(pevlr->EventID & EVENT_ID_MASK) + "]";
|
query = "Event/System[EventRecordID=" + inttostr(pevlr->RecordNumber) + "]";
|
||||||
pwsQuery = strAnsiToUnicode (query.c_str());
|
pwsQuery = strAnsiToUnicode (query.c_str());
|
||||||
pwsPath = strAnsiToUnicode (this->source.c_str());
|
pwsPath = strAnsiToUnicode (this->source.c_str());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue