Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18378
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!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 02:58:45 +0000 (UTC) |
| Organization | Aioe.org NNTP Server |
| Lines | 15 |
| Message-ID | <k1k0h5$jt5$1@speranza.aioe.org> (permalink) |
| 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:18378 |
Show key headers only | View raw
Lew you are right the thread started on comp.unix.shell. It does however related to java. ~ The thing is that sometimes I would (within java) redirect out and/or err to files but sometimes I need for out and err to log to the same file and err still to a different/separate one. I haven't figured out how to do that cleanly/easily in java. ~ The shell, however, seems to come handy in such cases. In fact as I found out, things aren't that simple on the shell either (comp.unix.shell: Lem Novantotto ...), so it is best if those guys sort it out themselves ~ lbrtchx comp.lang.java.programmer: trying to redirect both std out and err to a file together and still err to a separate file
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
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 02:58 +0000 Re: trying to redirect both std out and err to a file together and still err to a separate file Roedy Green <see_website@mindprod.com.invalid> - 2012-08-29 00:28 -0700
csiph-web