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. 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:
    8
    Views:
    5,626
  2. Pappy
    Replies:
    3
    Views:
    391
  3. Dirk Loss
    Replies:
    3
    Views:
    344
    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:
    132
    Anno Siegel
    Feb 25, 2004
  5. Replies:
    2
    Views:
    365
    A. Sinan Unur
    Dec 7, 2005
Loading...

Share This Page