Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18386 > unrolled thread

trying to redirect both std out and err to a file together and still err to a separate file

Started byqwertmonkey@syberianoutpost.ru
First post2012-08-29 09:07 +0000
Last post2012-08-29 09:07 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.programmer


Contents

  trying to redirect both std out and err to a file together and still err to a separate file qwertmonkey@syberianoutpost.ru - 2012-08-29 09:07 +0000

#18386 — trying to redirect both std out and err to a file together and still err to a separate file

Fromqwertmonkey@syberianoutpost.ru
Date2012-08-29 09:07 +0000
Subjecttrying to redirect both std out and err to a file together and still err to a separate file
Message-ID<k1km4n$34e$1@speranza.aioe.org>
> see System.setErr System.setOut 
~ 
 yes but my point is there is no System.setErrOut and 
System.setErrOnly in java ;-)
~ 
 Sometimes you would like to only take a second look 
at things is there were error messages of some kind, 
but you would like to keep logs anyway
~ 
 You can always execute some piece of code in debug 
mode setting stop points and such things, but I think 
keeping a mental map of what you do is (almost) always best
~ 
 lbrtchx

[toc] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web