Setup logging for fedimg cronjob.

This commit is contained in:
Ralph Bean 2015-10-21 14:33:11 +00:00
parent 7e48000e90
commit e1edce6717

View file

@ -4,12 +4,15 @@
# NOTE this is taken from the github repo
# https://github.com/fedora-infra/fedimg/blob/develop/bin/kill_ec2_nodes.py
import logging
logging.basicConfig()
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
import datetime
import fedimg
EC2_ACCESS_ID = fedimg.AWS_ACCESS_ID
EC2_SECRET_KEY = fedimg.AWS_SECRET_KEY