On Windows NT, I get: log_file= java.io.FileNotFoundException: (No such file or directory) [log_file-> System.out]
and then the rest of the output goes to stdout. So it will work on windows too. == [In fact I get an error for CON as well; I thought I had got something like that working once...] There may be other ways of expressing /dev/tty on some Unixes, e.g. /dev/stdout which might avoid the error message, but it does no harm. S. -----Original Message----- From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] Sent: 02 December 2003 15:27 To: JMeter Users List Subject: Re: How to get logging to go to stdout? Works, but not the way you thought (or not the one you made me think): when the LoggingManager tries to open /dev/tty, it can't. The exception handling code reverts to writing to stdout. Funny. So: log_file= will fit both systems (unless Windows is happy with a file with an empty name). Thanks, Jordi. En/na BAZLEY, Sebastian ha escrit: > Try: > > DOS: > log_file=CON > > Unix > log_file=/dev/tty > > S. > -----Original Message----- > From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] > Sent: 02 December 2003 14:52 > To: JMeter Users List > Subject: How to get logging to go to stdout? > > > Hi. > > I would prefer all logging to go to standard output instead of > jmeter.log. How can I do that? > > Thanks, > > Jordi. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

