diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index 7da0b07c6f..df62e31f2b 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,8 @@ +2010-10-27 Ramon Novoa + + * modules/pandora_module_logevent.cc: We need more information on error + 997, ignore it for now. + 2010-10-04 Ramon Novoa * windows/pandora_wmi.cc: Fixed inventory NIC information. diff --git a/pandora_agents/win32/modules/pandora_module_logevent.cc b/pandora_agents/win32/modules/pandora_module_logevent.cc index a86ebd3dd6..7598c89191 100755 --- a/pandora_agents/win32/modules/pandora_module_logevent.cc +++ b/pandora_agents/win32/modules/pandora_module_logevent.cc @@ -174,8 +174,8 @@ Pandora_Module_Logevent::discardLogEvents () { rc = ReadEventLog(this->log_event, EVENTLOG_FORWARDS_READ | EVENTLOG_SEEK_READ, newest_event, pevlr, BUFFER_SIZE, &read, &needed); - // Something went wrong - if (rc != 0) { + // Something went wrong (we need more information on error 997, ignore it for now) + if (rc != 0 && rc != 997) { pandoraDebug ("ReadEventLog error %d", GetLastError ()); } }