Do you have an example you can share? Thanks.
-billc

-----Original Message-----
From: Thomas Muller [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 2:01 PM
To: Log4J Users List
Subject: Correction!! (was: RE: XMLLayout conversion pattern)

Perusing the code you can see that you will have to set LocationInfo *for
the actual Layout* in order to get class/method/line information. If you're
using SMTPAppender you're adviced to set LocationInfo for the appender as
well.

--

Thomas


 | -----Original Message-----
 | From: Thomas Muller [mailto:[EMAIL PROTECTED]]
 | Sent: 01 July 2002 18:45
 | To: Log4J Users List
 | Subject: RE: XMLLayout conversion pattern
 |
 |
 | 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]>




*************************************************************************
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]>

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

Reply via email to