diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2007-07-01 18:43:09 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2007-07-01 18:43:09 +0000 |
commit | 193a8b1ade3a366b5d5f6711541566495e428943 (patch) | |
tree | ed95515642d28e62d21056e8489d4ec07a33b821 /src/lib | |
parent | d7469269b946164d707b2c92ff4a8a5b9fefd0ce (diff) | |
download | bcfg2-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
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 2 |
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() |