You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Klein, Scott @ TW" <sc...@L-3com.com> on 2002/06/04 19:04:34 UTC

LocationInfo and SocketAppenders (was: SocketAppender and Logging Event data)

Apparently (according to the DTD anyway - see below) there is a
"includesLocationInformation" setting (which is supposed to be set to true
by default) that may also be causing the problem.

Has anyone successfully used the SocketAppender to transfer LocationInfo
with a LoggingEvent? If so, how???

excerpt from DTD:
<!-- ====================================================================
-->
<!--                       A logging event
-->
<!-- ====================================================================
-->
<!ELEMENT log4j:eventSet (log4j:event*)>
<!ATTLIST log4j:eventSet
  xmlns:log4j             CDATA #FIXED "http://jakarta.apache.org/log4j/" 
  version                (1.1|1.2) "1.2" 
  includesLocationInfo   (true|false) "true"
>

-----Original Message-----
From: Klein, Scott @ TW [mailto:scott.klein@dns1.L-3com.com]
Sent: Monday, June 03, 2002 3:18 PM
To: Log4J-User (E-mail)
Subject: SocketAppender and LoggingEvent data


I am using a SocketAppender to send log info to a central server, however
when I try to retrieve the LocationInformation (such as method and class
name) on the the server side I get ?'s as a result - however they are being
logged properly on the client side --- might this be an issue with the
serialization?

_______________________________
Scott Klein 

L-3 Communications
Telemetry-West
9020 Balboa Avenue
San Diego, CA  92123-3507

858.694.7787
scott.klein@l-3com.com





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>