Return-Path: Delivered-To: apmail-logging-log4cxx-user-archive@www.apache.org Received: (qmail 6235 invoked from network); 12 May 2010 14:45:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 14:45:31 -0000 Received: (qmail 70052 invoked by uid 500); 12 May 2010 14:45:31 -0000 Delivered-To: apmail-logging-log4cxx-user-archive@logging.apache.org Received: (qmail 70013 invoked by uid 500); 12 May 2010 14:45:31 -0000 Mailing-List: contact log4cxx-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4CXX User" List-Id: Delivered-To: mailing list log4cxx-user@logging.apache.org Received: (qmail 69991 invoked by uid 99); 12 May 2010 14:45:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 14:45:31 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of John.Prestel@ngc.com designates 155.104.240.104 as permitted sender) Received: from [155.104.240.104] (HELO xmrm0101.northgrum.com) (155.104.240.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 14:45:22 +0000 Received: from xbhm0001.northgrum.com ([155.104.118.90]) by xmrm0101.northgrum.com with InterScan Message Security Suite; Wed, 12 May 2010 10:40:36 -0400 Received: from XBHIL102.northgrum.com ([134.223.165.151]) by xbhm0001.northgrum.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 12 May 2010 10:45:01 -0400 Received: from XMBIL142.northgrum.com ([134.223.168.13]) by XBHIL102.northgrum.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 12 May 2010 09:45:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAF1E1.B2F6891C" Subject: RE: application property Date: Wed, 12 May 2010 09:45:00 -0500 Message-ID: <1230D3ACEEC6F44DB545BC0B23BFD19F0380E55F@XMBIL142.northgrum.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: application property Thread-Index: Acrx4U7rzVx7jdGzSxSNIKYrc6BbtAAAEGtQ References: <1230D3ACEEC6F44DB545BC0B23BFD19F0380E51B@XMBIL142.northgrum.com> From: "Prestel, John D." To: "Log4CXX User" X-OriginalArrivalTime: 12 May 2010 14:45:00.0235 (UTC) FILETIME=[B2C019B0:01CAF1E1] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01CAF1E1.B2F6891C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks, Dale! I'll try it and report my findings.=20 =20 From: Dale King [mailto:dalewking@gmail.com]=20 Sent: Wednesday, May 12, 2010 10:41 AM To: Log4CXX User Subject: Re: application property =20 It does allow it, since I know that I've done it. Unfortunately that was with a previous employer so I don't have access to the code. I don't know if you can do it through the configuration file. I think I did it using an MDC property in my app's initialization code as in: MDC::put( "application", "myapp" ); On Wed, May 12, 2010 at 10:28 AM, Prestel, John D. wrote: Does log4cxx provide a way to set the "application" property on logging events via, presumably, an appender's configuration? Chainsaw uses this property to determine which tab a log message should land in. It seems log4j provides the ability to do this, but it's not clear where log4cxx stands. Reference: http://markmail.org/message/5ufciwvzoqyeqc5x =20 --=20 Dale King ------_=_NextPart_001_01CAF1E1.B2F6891C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks, Dale! I’ll try it and report my findings. =

 

From:= Dale King [mailto:dalewking@gmail.com]
Sent: Wednesday, May 12, 2010 10:41 AM
To: Log4CXX User
Subject: Re: application property

 

It does allow it, = since I know that I've done it. Unfortunately that was with a previous employer so I = don't have access to the code.

I don't know if you can do it through the configuration file. I think I = did it using an MDC property in my app's initialization code as in:

   MDC::put( "application", "myapp" = );

On Wed, May 12, 2010 at 10:28 AM, Prestel, John D. = <John.Prestel@ngc.com> = wrote:

Does log4cxx = provide a way to set the “application” property on logging events via, = presumably, an appender’s configuration? Chainsaw uses this property to determine = which tab a log message should land in. It seems log4j provides the ability to do = this, but it’s not clear where log4cxx stands.

Reference: = http://markmail.org/message/= 5ufciwvzoqyeqc5x




--
Dale King

------_=_NextPart_001_01CAF1E1.B2F6891C--