cleanup console io
diff --git a/xos/openstack_observer/ansible.py b/xos/openstack_observer/ansible.py
old mode 100755
new mode 100644
index cb512ce..ee110c9
--- a/xos/openstack_observer/ansible.py
+++ b/xos/openstack_observer/ansible.py
@@ -10,6 +10,7 @@
import traceback
import subprocess
from xos.config import Config, XOS_DIR
+from util.logger import observer_logger
try:
step_dir = Config().observer_steps_dir
@@ -24,7 +25,8 @@
def parse_output(msg):
lines = msg.splitlines()
results = []
- print msg
+
+ observer_logger.info(msg)
for l in lines:
magic_str = 'ok: [127.0.0.1] => '