Hi Scott Thank you for your reply.
So do I have to wait for the next release, or can I get the fixed version from CVS/SVN or somewhere else? I am thinking of the following usecase for my application: The application start. The user can click a menu item -> show application logs chainsaw should start showing every log entry since application startup ( in a different frame, or a modal dialog ). Would this be possible, or do I have to write my own log viewer? Regards Mirko -----Ursprüngliche Nachricht----- Von: Scott Deboy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 9. April 2008 18:42 An: Log4J Users List Betreff: RE: Use Chainsaw in existing Swing application The org.apache.log4j.chainsaw.ChainsawAppender appender will allow you to start Chainsaw when your UI launches (or you can do it yourself programmatically using the same code the appender uses). However...Chainsaw won't work with this appender until the next release of Chainsaw (I just committed a fix to Chainsaw to support this appender). Here's an example appender configuration that you can add to your log4j xml file to get Chainsaw to load: <appender name="CHAINSAW-UI" class="org.apache.log4j.chainsaw.ChainsawAppender"> <param name="viewerClass" value="org.apache.log4j.chainsaw.LogUI"/> </appender> And then add that appender to your root logger with an appender-ref: <root> <appender-ref ref="CHAINSAW-UI"/> </root> Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -----Original Message----- From: Sertic Mirko, Bedag [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 8:32 AM To: [email protected] Subject: Use Chainsaw in existing Swing application [EMAIL PROTECTED] Is it possible to integrate Chainsaw into an existing GPL bases Swing application? Can it be run as a component in another JFrame? How should that be done? Thanks in advance Mirko --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
