From 2bb62110cd90b781754cc83ac6dfed34d51bb961 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Thu, 28 Sep 2017 17:31:54 +0200 Subject: [PATCH] Added async polling trace --- pandora_agents/win32/modules/pandora_module_service.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_agents/win32/modules/pandora_module_service.cc b/pandora_agents/win32/modules/pandora_module_service.cc index fcc5fa1395..c3f2259773 100644 --- a/pandora_agents/win32/modules/pandora_module_service.cc +++ b/pandora_agents/win32/modules/pandora_module_service.cc @@ -102,6 +102,9 @@ async_run (Pandora_Module_Service *module) { // do not emit logs. It is a way to check if there is a // Home Edition Windows distribution polling = (stat("C:\\Windows\\System32\\gpedit.msc", &st) != 0); + if (polling) { + pandoraLog("Async polling service %s for this Windows edition", module->getServiceName().c_str()); + } while (1) { event_log = OpenEventLog (NULL, "Service Control Manager");