Thomas,

> Now the question is when do we have to use the 
> BasicConfigurator.resetConfiguration();

I only use this in my unit test cases to allow reinitialization of 
logging between tests. Others on this forum would be better equipped 
to answer otherwise.

> Another Question is why do I have the IllegalAccessException with 
> the following codes when the class TestCaseWithLogging2 is declare 
> the class with the default access modifer ?

This is probably a junit question rather than log4j. However, the 
code ran fine for me. But, it was all in the same package. In 
general, why not just make your test classes and their constructors 
public? Why bother protecting your test cases?

Herm

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

Reply via email to