Retrieve the directory where StdOut was redirected

Discussion in 'Java' started by Ben_, Oct 30, 2003.

  1. Ben_

    Ben_ Guest

    Hello,

    Is it possible to programmaticaly retrieve the directory where StdOut stream
    has been redirected (application is in a web container) ? I'd like to
    generate a log in the same directory, but not in StdOut file.

    I could require this parameter when the app is installed, but it'd be
    smarter to retrieve it dynamically.

    Thanks.

    Ben.
     
    Ben_, Oct 30, 2003
    #1
    1. Advertisements

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:
    8
    Views:
    5,847
  2. Pappy
    Replies:
    3
    Views:
    531
  3. Dirk Loss
    Replies:
    3
    Views:
    438
    Bjoern Schliessmann
    Dec 19, 2007
  4. Noel Sant

    Closing and re-opening redirected STDOUT

    Noel Sant, Feb 25, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    242
    Anno Siegel
    Feb 25, 2004
  5. Michele Dondi

    How can I know if STDOUT has been redirected?

    Michele Dondi, Oct 20, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    483
    Michele Dondi
    Oct 21, 2004
  6. Replies:
    2
    Views:
    599
    A. Sinan Unur
    Dec 7, 2005
  7. Dilbert
    Replies:
    9
    Views:
    342
    Peter J. Holzer
    Jan 14, 2010
  8. Dilbert
    Replies:
    5
    Views:
    233
    Dilbert
    Jan 24, 2010
Loading...