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


Groups > comp.lang.java.programmer > #18378

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

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 2012-08-29 02:58 +0000
Organization Aioe.org NNTP Server
Message-ID <k1k0h5$jt5$1@speranza.aioe.org> (permalink)

Show all headers | 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 | NextNext in thread | Find similar | Unroll thread


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