logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31178] - Exception using Chainsaw for simple debugging
Date Tue, 14 Sep 2004 20:42:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31178>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31178

Exception using Chainsaw for simple debugging

sdeboy@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From sdeboy@iname.com  2004-09-14 20:42 -------
The setting of locationInfo on the appender sets a boolean.

Are you using log4j 1.2.8?  I've tested and verified that if you using a
SocketAppender from log4j1.2.8 you can send events to Chainsaw V2.  

I was able to reproduce the classnotfoundexception only by explicitly setting
the LocationInfo param to true.  Setting this param explicitly to false, while
unnecessary, resulted in the events successfully getting loaded by Chainsaw V2.

Here is a link to the source (this is a link to the 1.2.7 tagged version):
http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4j/net/SocketAppender.java?rev=1.12.2.1&view=markup

Note that the locationInfo boolean is used in the 'append' method.

If you are not using log4j 1.2.8 on the appender side, give us more information
on your configuration and we can reopen.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message