Changed log for members
Change-Id: I06aff7bf4164541f7982f3534c2758bf16f207e3
This commit is contained in:
@@ -98,10 +98,11 @@ def log(uri, runtime_storage_inst, days_to_update_members, members_look_ahead):
|
|||||||
cur_index += 1
|
cur_index += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
LOG.info('Added new member: %s. Gap to previous %s' %
|
||||||
|
(member.get('member_id'), cnt_empty))
|
||||||
cnt_empty = 0
|
cnt_empty = 0
|
||||||
last_member_index = cur_index
|
last_member_index = cur_index
|
||||||
cur_index += 1
|
cur_index += 1
|
||||||
LOG.debug('New member: %s', member['member_id'])
|
|
||||||
yield member
|
yield member
|
||||||
|
|
||||||
time.sleep(random.random() * 5)
|
time.sleep(random.random() * 5)
|
||||||
|
|||||||
Reference in New Issue
Block a user