# Differentiate logging stdout vs stderr?

**URL:** https://www.finalbuilder.com/forums/t/differentiate-logging-stdout-vs-stderr/2098
**Category:** Discussion
**Created:** [March 21, 2013, 10:10am UTC](https://www.finalbuilder.com/forums/t/differentiate-logging-stdout-vs-stderr/2098 "2013-03-21T10:10:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 21, 2013, 10:10am UTC](https://www.finalbuilder.com/forums/t/differentiate-logging-stdout-vs-stderr/2098/1 "2013-03-21T10:10:12Z")

</div>

Hi!

(I'm still using FB6, so if anythings changed in FB7 let me know.)

&nbsp;I'm in the situation where a command line toll will report tons of progress info to stdout that I don't care about but when an error occurs, I would very much like to log this error info. The error text is correctly sent to stderr, but ...

It seems in FB6 there is no way I can differentiate the logging btw. stdout and stderr. Is this true? Are there any workarounds?

I must say I find this highly surprising, but then, it's the first time I need it in over 5 years, so maybe it isn't that important a feature :-)

cheers,  
Martin

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 22, 2013, 1:47am UTC](https://www.finalbuilder.com/forums/t/differentiate-logging-stdout-vs-stderr/2098/2 "2013-03-22T01:47:51Z")

</div>

It’s not possible in any of the standard actions, stdout and stderr are combined. In our experience, very few tools use stderror on windows, most just write everything to stdout, so it made sense for us to just combine the two for the built in actions. If you write a custom action however, you can control what gets sent to the log as it has separate methods for handling stdout and stderror.
