jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BAZLEY, Sebastian" <Sebastian.BAZ...@london.sema.slb.com>
Subject RE: How to get logging to go to stdout?
Date Tue, 02 Dec 2003 16:36:42 GMT
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:jsalvata@atg.com]
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:jsalvata@atg.com]
> 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: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message