# Live command logs

**URL:** <https://forum.ansible.com/t/live-command-logs/18375>\
**Category:** Ansible Project\
**Created:** [June 2, 2015, 2:09am UTC](https://forum.ansible.com/t/live-command-logs/18375 "2015-06-02T02:09:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SVC\_RVBRAND](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SVC\_RVBRAND](https://forum.ansible.com/u/SVC_RVBRAND)\
**Post date:** [June 2, 2015, 2:09am UTC](https://forum.ansible.com/t/live-command-logs/18375/1 "2015-06-02T02:09:55Z")

</div>

Hi All,

I am new to ansible and my first task is to prove this tool can help my team.  
I migrated some of our Capistrano recipes to ansible playbooks as a POC.  
Ansible works wonderfully but the issue I am facing now is I cannot get  
the live output message of any command even running locally, the output  
message is crucial in our environment.

I have no issue with Capistrano recipes to show the live logs from different tasks  
running on different servers.

Am I missing something ?, is there any option to change the default behavior of  
the playbook run regarding this issue.

Note:  
I need live log of the command, not a printed log message after a 3 hours command run.  
I am also willing to apply any patch to ansible if there is one that solves this issue for us.

Thank you All.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [June 2, 2015, 2:20pm UTC](https://forum.ansible.com/t/live-command-logs/18375/2 "2015-06-02T14:20:23Z")

</div>

ansible is designed to be a batch system so showing live logs is not  
something that is built in, ansible returns the logs of the work after  
it has finished.

Async tasks can be created but you can only poll the state of the task  
and not it's output.

---

<div class="post-metadata">

**Author:** ![SVC\_RVBRAND](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SVC\_RVBRAND](https://forum.ansible.com/u/SVC_RVBRAND)\
**Post date:** [June 10, 2015, 6:36pm UTC](https://forum.ansible.com/t/live-command-logs/18375/3 "2015-06-10T18:36:34Z")

</div>

Thank you Brian, then this is a showstopper for us, we cannot  
using this tool in our environment.

---

<div class="post-metadata">

**Author:** ![SVC\_RVBRAND](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SVC\_RVBRAND](https://forum.ansible.com/u/SVC_RVBRAND)\
**Post date:** [June 10, 2015, 6:38pm UTC](https://forum.ansible.com/t/live-command-logs/18375/4 "2015-06-10T18:38:15Z")

</div>

Thank you Brian, then this is a showstopper for us, we cannot  
use this tool in our environment.
