> Hi, I am using the Java logging and some components that I am using
> write to System.out/System.err. Is there any way to redirect them to
> the java.util.logging.Logger?
You can write your own PrintStream and replace the original one
with System.setOut und System.setErr. But be careful, that you
don't log to STDOUT ;-)
Regards, Lothar

Signature
Lothar Kimmeringer E-Mail: spamfang@kimmeringer.de
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
questions!
Brian S. Paskin - 02 Oct 2006 21:02 GMT
Lothar: Thanks for the advice. I extended the PrintStream and it
works great.
-brian
> > Hi, I am using the Java logging and some components that I am using
> > write to System.out/System.err. Is there any way to redirect them to
[quoted text clipped - 11 lines]
> Always remember: The answer is forty-two, there can only be wrong
> questions!
Brian S. Paskin - 02 Oct 2006 21:41 GMT
Lothar: Thanks for the advice. I extended the PrintStream and it
works great.
-brian
> > Hi, I am using the Java logging and some components that I am using
> > write to System.out/System.err. Is there any way to redirect them to
[quoted text clipped - 11 lines]
> Always remember: The answer is forty-two, there can only be wrong
> questions!