From e1edce6717ef06a224c7044f52eddf5f9979c24d Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 21 Oct 2015 14:33:11 +0000 Subject: [PATCH] Setup logging for fedimg cronjob. --- roles/fedimg/files/cron/kill_ec2_nodes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/fedimg/files/cron/kill_ec2_nodes.py b/roles/fedimg/files/cron/kill_ec2_nodes.py index 7e654f7b04..4bfb96c5b8 100644 --- a/roles/fedimg/files/cron/kill_ec2_nodes.py +++ b/roles/fedimg/files/cron/kill_ec2_nodes.py @@ -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