From 3acab45977cbcb4b908674b8b7d01b01688da862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Mon, 7 Jun 2021 15:03:54 +0200 Subject: [PATCH] (plugin_assessor_agent) Enhance debug by telling the ID the relayserver matched --- .../pluginsmastersubstitute/plugin_assessor_agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pulse_xmpp_master_substitute/pluginsmastersubstitute/plugin_assessor_agent.py b/pulse_xmpp_master_substitute/pluginsmastersubstitute/plugin_assessor_agent.py index 0a89ab266..77e39d8e9 100644 --- a/pulse_xmpp_master_substitute/pluginsmastersubstitute/plugin_assessor_agent.py +++ b/pulse_xmpp_master_substitute/pluginsmastersubstitute/plugin_assessor_agent.py @@ -404,6 +404,8 @@ def Algorithm_Rule_Attribution_Agent_Relay_Server(objectxmpp, if len(result1) > 0: if showinfomachine: logger.info("Applied rule : AD organized by machines") + logger.info("We matched the relayserver ID: %s" % result1) + result = XmppMasterDatabase().IpAndPortConnectionFromServerRelay(result1[0].id) msg_log("AD organized by machine", data['information']['info']['hostname'],