Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: qwertmonkey@syberianoutpost.ru Newsgroups: comp.lang.java.programmer Subject: trying to redirect both std out and err to a file together and still err to a separate file Date: Wed, 29 Aug 2012 09:07:35 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 14 Message-ID: NNTP-Posting-Host: z9Rq+Ge+SLJPEkk9TGcnaw.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: NetComponents Xref: csiph.com comp.lang.java.programmer:18386 > 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