summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-01 18:43:09 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-01 18:43:09 +0000
commit193a8b1ade3a366b5d5f6711541566495e428943 (patch)
treeed95515642d28e62d21056e8489d4ec07a33b821
parentd7469269b946164d707b2c92ff4a8a5b9fefd0ce (diff)
downloadbcfg2-193a8b1ade3a366b5d5f6711541566495e428943.tar.gz
bcfg2-193a8b1ade3a366b5d5f6711541566495e428943.tar.bz2
bcfg2-193a8b1ade3a366b5d5f6711541566495e428943.zip
Add server-side debug logging of client probe results
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3398 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Metadata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index 2ef9b1f59..4fd5ed31f 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -332,6 +332,8 @@ class Metadata(Bcfg2.Server.Plugin.Plugin):
(data.get('name'), client.hostname))
return
dlines = data.text.split('\n')
+ self.logger.debug("%s:probe:%s:%s" % (client.hostname,
+ data.get('name'), [line.strip() for line in dlines]))
for line in dlines[:]:
if line.split(':')[0] == 'group':
newgroup = line.split(':')[1].strip()