Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Selectively redirect only stdout to a file(Selectively redirect only stdout to a file)
Selectively redirect only stdout to a file [message #1774448] Sat, 14 October 2017 21:10
Robert Graham is currently offline Robert GrahamFriend
Messages: 1
Registered: October 2017
Junior Member
Hi,

I have seen that it is possible to redirect all console output to a file (Run Configuration > Common > Standard Input and Output). This redirects both stderr (System.err) and stdout (System.out).

Part of the point of having two output streams is so they can go different places.

What I would like to do is redirect stdout to a file but have stderr still go to the Console. Is that possible?

Robert
Previous Topic:Eclipse Wont open
Next Topic:"Unknown constant pool type 19" during Java 9 build with module declaration
Goto Forum:
  


Current Time: Tue Dec 12 18:10:15 GMT 2017

Powered by FUDForum. Page generated in 0.01629 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software