[PATCH] Setup logging for fedimg cronjob.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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 7e654f7..4bfb96c 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
 
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux