Modified ceilometer2ssm.conf.The JSON structure was incorrect. After 'ex2' there mustn't to have a comma , and before 'secrets' must be a comma
Added if __name__ == '__main__' to the code
Reestructured imports and added import logging
Replaced print to logging in read_config function
Replaced print to logging in auth_keystone function
Replaced print to logging in receive_data function
Replaced print to logging in get_uid function
Replaced print to logging in ana_received_cpu_data function
Replaced print to logging in ana_received_net_data function
Replaced print to logging in PrintSSMRecords function
Replaced print to logging in __main__ function
Replaced debug to logging.debug in auth_keystone function
Replaced debug to logging.debug in receive_data function
Replaced debug to logging.debug in ana_received_cpu_data function
Replaced debug to logging.debug in PrintSSMRecords function
Replaced debug to logging.debug in __main__ function
Added in main if statements to select the default logging level: INFO, DEBUG or normal
removed 'if verbose' statement from __main__ function
removed 'if verbose' statement from PrintSSMRecords function
Reformated strings in read_config