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

Discussion in 'Java' started by qwertmonkey@syberianoutpost.ru, Aug 29, 2012.

  1. Guest

    > 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
     
    , Aug 29, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    693
    hurcan solter
    Aug 15, 2007
  2. Will Lichtenberger
    Replies:
    3
    Views:
    3,279
    dener
    Nov 5, 2008
  3. Terry Cooper
    Replies:
    7
    Views:
    433
    Janos Sebok
    Jun 9, 2009
  4. Replies:
    1
    Views:
    572
  5. Replies:
    1
    Views:
    439
    Roedy Green
    Aug 29, 2012
Loading...

Share This Page