Skip to content

Commit

Permalink
correct logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo committed Jun 11, 2020
1 parent 4da1fc0 commit 346e9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_usage_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def main():
x['resource_set_timestamp']: {'memory_mb': {y['value']: y['weight'] for y in x['memory_mb']},
'vcpus': {y['value']: y['weight'] for y in x['vcpus']}} for
x in weight_response.json()}
logging.info("Updated credits weights, new weights: " + str(current_weights))
logging.debug("Updated credits weights, new weights: " + str(current_weights))
exporter.update_weights(current_weights)
except Exception as e:
logging.exception(
Expand Down

0 comments on commit 346e9a6

Please sign in to comment.