cleanup extra logging
@@ -198,8 +198,6 @@ class Update_Switch_State(Monitor_Helper_Base):
self.endpoints.set(end_point)
changed = True
endpoint_hashes = self.endpoints.state.copy()
- self.logger.info("endpoint hashes {0}".format(endpoint_hashes))
- self.logger.info("machine hashes {0}".format(machine_hashes))
for endpoint in endpoint_hashes:
if endpoint not in machine_hashes:
del self.endpoints.state[endpoint]
@@ -229,7 +227,7 @@ class Update_Switch_State(Monitor_Helper_Base):
self.retval['controller'] = 'Could not establish connection to {0}.'.format(
self.controller['URI'])
- self.logger.info('MACHINES:{0}'.format(machines))
+ self.logger.debug('MACHINES:{0}'.format(machines))
self.find_new_machines(machines)
self.retval['machines'] = parsed
