Changes in how log4j 1.3 serializes logging events have temporarily broken Chainsaw V2's ability to process file/line/method (or MDC) info when the source is a log4j 1.2.9 SocketAppender. We're planning on correcting this sometime in the near future (hopefully before log4j 1.3 is released as beta).
To work around this, you could use log4j 1.3 on the appender side (not recommended in production) or write the information to a file and read the file in Chainsaw V2 using the LogFilePatternReceiver. Scott -----Original Message----- From: Xavier Outhier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 12:54 AM To: [email protected] Subject: ChainSaw: How to see File, line, method, class? Hi, sorry for this quite simple question but I'm using ChainSaw 2, with Log4j 1.2.9. All is fine except that I don't see the file, line, method and class info in ChainSaw. Before I used logFactor5 and in the log4j.properties files I had one special line for the format. Currently, I have only this: log4j.appender.A1=org.apache.log4j.net.SocketAppender log4j.appender.A1.Port=4445 log4j.appender.A1.RemoteHost=MyComputer log4j.appender.A1.Threshold=WARN What should I do to see file, line, method and class? Where this is described in the doc? Greetings, Xavier. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- 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]
