Missing console log output when using log4j

My applicaton uses log4j to log output using a ConsoleAppender. All works nicely in the standalone version. No output gets logged to the jws console when running under the jws client.

Any ideas?

As an aside, how do you steal System.err. and redirect it? I thought it was declared final.

[312 byte] By [ablakey] at [2007-9-26 1:24:25]
# 1

To "steal" System.err and redirect it..

It is an output stream.. so you just pass it to another Output Stream. ie. PrintWriter. then everything sent down System.err will in turn be put through the PrintWriter..

We use this style mechanism for our logging.

BTW, i'm unsure as to why log4j isn't working as it should..

Cheers,

GE

Geverson at 2007-6-29 1:04:28 > top of Java-index,Desktop,Deploying...