OK. It is checked into cvs. Some future work:
- I would like to remove/change the static variables in ChainsawAppender. Eventually multiple instances should be supported, each with their own model. - I would like to pass something different than the reference to the ChainsawAppender to the activateViewer() method of ChainsawViewer. Maybe just pass in a TableModel and an EventSink? But it looked like some of the gui stuff depended on ChainsawAppender specific methods, so I just used it for now. - I still want to do the Chainsaw LoggerRepository for chainsaw related messages. I know Paul weighed in. Does anyone else have a strong opinion about it? I've included Paul's configuration file modified to specify the viewer class for ChainsawAppender. Not very exciting since it is the DefaultViewer, but you get the idea. let me know what you think, -Mark <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true"> <appender name="Chainsaw" class="org.apache.log4j.chainsaw.ChainsawAppender"> <param name="ViewerClass" value="org.apache.log4j.chainsaw.DefaultViewer"/> </appender> <appender name="A2" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.SimpleLayout" /> </appender> <plugin name="SocketReceiver" class="org.apache.log4j.net.SocketReceiver"> <param name="Port" value="4445" /> </plugin> <logger name="org.apache.log4j.chainsaw" additivity="false"> <level value="info" /> <!--<appender-ref ref="A2" />--> </logger> <root> <level value="debug" /> <appender-ref ref="Chainsaw" /> </root> </log4j:configuration> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]