Simone,

I added the line "excluded.9=org.apache.log4j.*" and it works well now.

Thanks for your help.

Steve


 -----Original Message-----
From:   Cato, Simone [mailto:[EMAIL PROTECTED]] 
Sent:   21 January 2003 15:34
To:     'Dyson, Steve'
Subject:        RE: Interaction between Log4J and JUnit swingui

Another thing you might try is to add log4j.jar to the list of
classloader-excluded files in junit. I've does this for log4j and
many other (stable) third-party packages (like other jakarta
packages). Seems to work.

Check out the file (in junit.jar): junit\runner\excluded.properties
Modify as needed and return to <your> junit.jar.

Of course if you're working on log4j source this won't work.

-SSMC

-----Original Message-----
From: Dyson, Steve [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:51 AM
To: '[EMAIL PROTECTED]'
Subject: Interaction between Log4J and JUnit swingui


I am having problems using Log4J with the swing interface to JUnit...

If I use the JUnit Swing interface to work and Log4J  complains. If I use
the text interface Log4J works as expected.

Has anyone managed to get JUnit (Swing) and Log4J to work together? 

THEN Has anyone managed to get JUnit (Swing), Log4J and LogFactor5 to work
together?

Thanks
Steve

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

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

Reply via email to