# Split view of stdout/stderr output lines in verbose mode makes order of occurrence indeterminable

**URL:** <https://forum.ansible.com/t/split-view-of-stdout-stderr-output-lines-in-verbose-mode-makes-order-of-occurrence-indeterminable/15362>\
**Category:** Ansible Project\
**Created:** [May 29, 2014, 11:15am UTC](https://forum.ansible.com/t/split-view-of-stdout-stderr-output-lines-in-verbose-mode-makes-order-of-occurrence-indeterminable/15362 "2014-05-29T11:15:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ernest0x](https://avatars.discourse-cdn.com/v4/letter/e/ed655f/32.png) [@Ernest0x](https://forum.ansible.com/u/Ernest0x)\
**Post date:** [May 29, 2014, 11:15am UTC](https://forum.ansible.com/t/split-view-of-stdout-stderr-output-lines-in-verbose-mode-makes-order-of-occurrence-indeterminable/15362/1 "2014-05-29T11:15:11Z")

</div>

With enough verbosity level set for the ansible cli one can see the  
output lines of a command executed on a remote host. However, these  
lines are split into stdout lines and stderr lines, making it imposible  
to determine the order of occurence between stdout and stderr lines.  
That means that you cannot figure out if a line in stderr came out  
before or after a line in stdout and the opposite. This is really a  
problem when you are trying to debug things. So, I think we also need a  
combined view of output lines in the exact order they come out. Is there  
such a view already available somehow?

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [May 29, 2014, 6:09pm UTC](https://forum.ansible.com/t/split-view-of-stdout-stderr-output-lines-in-verbose-mode-makes-order-of-occurrence-indeterminable/15362/2 "2014-05-29T18:09:22Z")

</div>

Basic answer here is no.

stdout and stderr are different pipes for the subprocess module, so some extra code would be involved to make this an option to the module.

I’d be open to it.

–Michael
