2010-06-08 Ramon Novoa <rnovoa@artica.es>

* windows/pandora_wmi.cc, modules/pandora_module_logevent.cc: Removed
          unnecessary log information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2010-06-08 16:49:40 +00:00
parent d39612394a
commit cdcc414ad4
3 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-06-08 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc, modules/pandora_module_logevent.cc: Removed
unnecessary log information.
2010-05-27 Raul Mateos <raulofpandora@gmail.com> 2010-05-27 Raul Mateos <raulofpandora@gmail.com>
* bin/pandora_agent.conf: Added some example. Changed * bin/pandora_agent.conf: Added some example. Changed

View File

@ -176,7 +176,7 @@ Pandora_Module_Logevent::discardLogEvents () {
// Something went wrong // Something went wrong
if (rc != 0) { if (rc != 0) {
pandoraLog ("ReadEventLog error %d", GetLastError ()); pandoraDebug ("ReadEventLog error %d", GetLastError ());
} }
} }

View File

@ -652,9 +652,7 @@ Pandora_Wmi::getSoftware (list<string> &rows) {
if (wmi_svc == NULL) { if (wmi_svc == NULL) {
pandoraLog("Error getting wmi_svc\n"); pandoraLog("Error getting wmi_svc\n");
} }
else {
pandoraLog("wmi_svc is ok\n");
}
dhCheck (dhGetValue (L"%o", &software_list, wmi_svc, dhCheck (dhGetValue (L"%o", &software_list, wmi_svc,
L".ExecQuery(%S)", L".ExecQuery(%S)",
L"SELECT * FROM Win32_Product ")); L"SELECT * FROM Win32_Product "));