threading problems with log4j

2002-07-03 Thread Alan Simpson
hi, I ran the following code. In it, I make three threads and in each of them, I get a Logger object, add a ConsoleAppender and then log three items. The idea, as you can no doubt tell, is to mimick using a class with logging in it within a multithread environment. I would have hoped to have

bug with AsyncAppender.close()?

2002-06-21 Thread Alan Simpson
hi, I have an Appender class attached to an AsyncAppender. I try to close the attached appender by calling close() on the AsyncAppender object. However, this does not work. Looking at the AsyncAppender source code, it doesn't look as though it calls close() on the attached appenders. I can cl