Try to set

        <param name="LocationInfo" value="true" />

for the appender you're using.

--

Thomas




 | -----Original Message-----
 | From: Christian, William [mailto:[EMAIL PROTECTED]]
 | Sent: 01 July 2002 18:26
 | To: Log4J Users List
 | Subject: XMLLayout conversion pattern
 |
 |
 | How do I customize the XML log event produced when using the XMLLayout
 | appender? I would like to include additional data as is
 | currently done with
 | the ConversionPattern. However, the ConversionPattern is not supported by
 | the XMLLayout appender. Specifically, I want to output the
 | calling class (%C
 | in the ConversionPattern).
 |
 | Thanks,
 | -billc
 |



*************************************************************************
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved. 
The information supplied in this email should be treated in confidence.
No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to