Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 77076 invoked from network); 3 Dec 2004 14:00:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 14:00:27 -0000 Received: (qmail 35049 invoked by uid 500); 3 Dec 2004 14:00:06 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 34755 invoked by uid 500); 3 Dec 2004 14:00:01 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: "Log4NET User" Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 34657 invoked by uid 99); 3 Dec 2004 13:59:59 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_WHOIS,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mfwc011.mfw.is.co.za (HELO mfwc011.mfw.is.co.za) (196.36.153.161) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Dec 2004 05:59:57 -0800 Received: from ytsshopmx01.sanlam.co.za (Not Verified[196.36.40.224]) by mfwc011.mfw.is.co.za with NetIQ MailMarshal (v5.5.6.7) id ; Fri, 03 Dec 2004 15:59:42 +0200 Received: from hk01m.sanlam.co.za (hk01m.sanlam.co.za [10.12.4.53]) by ytsshopmx01.sanlam.co.za (8.12.11/8.12.11) with ESMTP id iB3DxZle018721; Fri, 3 Dec 2004 15:59:35 +0200 To: "Log4NET User" Cc: dgrospelier@sword-group.com Subject: Re: Multiple logs MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: Tony.Day@sanlam.co.za Date: Fri, 3 Dec 2004 15:59:34 +0200 X-MIMETrack: Serialize by Router on HK01M/HK/SPOKE/Sanlam(Release 5.0.13a |April 8, 2004) at 12/03/2004 03:59:35 PM, Serialize complete at 12/03/2004 03:59:35 PM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.42 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi David You can use the "Pattern Layout" "Conversion Character" "t" (lower-case). According to the documentation it will output the thread name (if=20 available) or alternatively the thread number. So your config might look similar to the following : 03/12/2004 12:58 Please respond to "Log4NET User" =20 To: cc:=20 Subject: Multiple logs Hi, =20 I want to generate a log file for every thread in my application. My=20 application is multithread and I want to know which thread does which=20 action. Today, I've only one log file but the log entries are mixed and can't find = which thread is concerned? =20 Any help is appreciated! =20 Thanks. =20 David Grospelier Chef de projets Sword - www.sword.fr =20 =20 =20 ***************=20 Any views expressed in this message are those of the individual sender,=20 and Sanlam accepts no liability for such views, except where the sender=20 specifically states them to be those of Sanlam. Sanlam Life Insurance Limited is a Licensed Financial Services Provider. Enige sienswyses of stellings wat in hierdie boodskap uitgedruk word is=20 di=E9 van die individuele afsender, en Sanlam aanvaar geen aanspreeklikheid= =20 daarvoor nie, behalwe waar die afsender uitdruklik vermeld dat dit di=E9 va= n=20 Sanlam is. Sanlam Lewensversekering Beperk is 'n Gelisensieerde Verskaffer van=20 Finansi=EBle Dienste.