diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index 4514999ab2..d2679771a0 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,8 @@ +2010-06-08 Ramon Novoa + + * windows/pandora_wmi.cc, modules/pandora_module_logevent.cc: Removed + unnecessary log information. + 2010-05-27 Raul Mateos * bin/pandora_agent.conf: Added some example. Changed diff --git a/pandora_agents/win32/modules/pandora_module_logevent.cc b/pandora_agents/win32/modules/pandora_module_logevent.cc index 1c207068f0..a86ebd3dd6 100755 --- a/pandora_agents/win32/modules/pandora_module_logevent.cc +++ b/pandora_agents/win32/modules/pandora_module_logevent.cc @@ -176,7 +176,7 @@ Pandora_Module_Logevent::discardLogEvents () { // Something went wrong if (rc != 0) { - pandoraLog ("ReadEventLog error %d", GetLastError ()); + pandoraDebug ("ReadEventLog error %d", GetLastError ()); } } diff --git a/pandora_agents/win32/windows/pandora_wmi.cc b/pandora_agents/win32/windows/pandora_wmi.cc index 84345e009b..c7034b17d6 100644 --- a/pandora_agents/win32/windows/pandora_wmi.cc +++ b/pandora_agents/win32/windows/pandora_wmi.cc @@ -652,9 +652,7 @@ Pandora_Wmi::getSoftware (list &rows) { if (wmi_svc == NULL) { pandoraLog("Error getting wmi_svc\n"); } - else { - pandoraLog("wmi_svc is ok\n"); - } + dhCheck (dhGetValue (L"%o", &software_list, wmi_svc, L".ExecQuery(%S)", L"SELECT * FROM Win32_Product "));