Not that this is a java solution... but if you are running under *nix...

java Class > /dev/null 2>&1

Any use?

Cheers

James



---------------------------------------- Message History 
----------------------------------------


From: Ceki Gülcü <[EMAIL PROTECTED]> on 15/03/2001 18:38 CET

Please respond to "LOG4J Users Mailing List" <[EMAIL PROTECTED]>

To:   "LOG4J Users Mailing List" <[EMAIL PROTECTED]>
cc:
Subject:  Re: irrepressible messages



The only solution I see is to modify LogLog to write somewhere else. We could 
introduce a method, say setErrorStream, to LogLog so that you could redirect the 
output stream for LogLog.error and LogLog.warn. By the way, why is it so important for 
you to suppress all output even errors? Ceki


At 17:14 15.03.2001 +0000, Joseph Panico wrote:
>Folks,
>
>We have a requirement that some java processes must run without producing *any* 
>output on stderr or stdout under any circumstances. Unfortunately, LogLog prints to 
>stderr in the error method, even if internal debugging is disabled. We must have the 
>ability to make a JVM "run silent".
>
>joe


I hope to see you at my ApacheCon 2001 presentation
entitled "Log4j, A Logging Package for Java".

See http://ApacheCon.Com/2001/US/ for more details.

----
Ceki Gülcü          Web:   http://qos.ch
av. de Rumine 5     email: [EMAIL PROTECTED] (preferred)
CH-1005 Lausanne           [EMAIL PROTECTED]
Switzerland         Tel: ++41 21 351 23 15


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to