Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 47329 invoked from network); 17 Aug 2009 09:14:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 09:14:22 -0000 Received: (qmail 52641 invoked by uid 500); 17 Aug 2009 09:14:28 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 52575 invoked by uid 500); 17 Aug 2009 09:14:28 -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" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 52560 invoked by uid 99); 17 Aug 2009 09:14:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 09:14:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karym6@hotmail.com designates 65.55.111.142 as permitted sender) Received: from [65.55.111.142] (HELO blu0-omc4-s3.blu0.hotmail.com) (65.55.111.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 09:14:17 +0000 Received: from BLU127-W23 ([65.55.111.136]) by blu0-omc4-s3.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 17 Aug 2009 02:13:56 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_ec93eb16-30ef-472b-bbcb-a516fa4c08ce_" X-Originating-IP: [194.9.188.21] From: Karim Bourouba To: Subject: RE: Can we write the data to Multiple log Date: Mon, 17 Aug 2009 10:13:56 +0100 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 17 Aug 2009 09:13:56.0910 (UTC) FILETIME=[0C943CE0:01CA1F1B] X-Virus-Checked: Checked by ClamAV on apache.org --_ec93eb16-30ef-472b-bbcb-a516fa4c08ce_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Have you considered logging to a db=2C then generating reports from there i= nstead? =20 Seems to me to be a bit more elegant than logging to two text files. =20 Subject: Can we write the data to Multiple log Date: Mon=2C 17 Aug 2009 13:46:42 +0530 From: raghuram.raichooti@accenture.com To: log4net-user@logging.apache.org Hi=2C =20 I am using the Rolling File Appender=2C and in this I would like to write t= he exception raised to two different logs one with simple information and o= ther with the complete information. =20 In the config file I have two sections defining the paths. =20 DIS /config/errorCode.xml =20 =20 =20 In our application we only mention Log.Debug(=93Logging Information=94). =20 =20 Could you please tell me how to specify the details of the log file. =20 Regards=2C Raghuram Raichooti=20 ___________________________________________________________________________= _____________________________________ =20 This message is for the designated recipient only and may contain privilege= d=2C proprietary=2C or otherwise private information. If you have received = it in error=2C please notify the sender immediately and delete the original= . Any other use of the email by you is prohibited. _________________________________________________________________ Windows Live Messenger: Celebrate 10 amazing years with free winks and emot= icons. http://clk.atdmt.com/UKM/go/157562755/direct/01/= --_ec93eb16-30ef-472b-bbcb-a516fa4c08ce_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Have you considered logging to a db=2C then generating reports from there i= nstead?

 =3B

Seems to me to be a bit more elegant than logging to two text files.
=


 =3B


Subject: Can we write the data to Multiple log
Date: Mon=2C 17 Aug 2009 = 13:46:42 +0530
From: raghuram.raichooti@accenture.com
To: log4net-use= r@logging.apache.org

Hi=2C

 =3B

I am using the Rolling File Appender=2C and in this= I would like to write the exception raised to two different logs one with = simple information and other with the complete information.

 =3B

In the config file I have two sections defining the= paths.

 =3B

<=3B?xml version=3D"1.0" standalone=3D"yes" ?>= =3B

<=3BDataSetConfiguration xmlns=3D"http://www.volk= swagen.de/xmldefs/disk/DSLoggingConfiguration.xsd">=3B

 =3B <=3BSYSTEMINFORMATION>=3B

 =3B =3B =3B <=3BSYSTEMID>=3BDIS<= =3B/SYSTEMID>=3B

 =3B =3B =3B <=3BERRORCODELISTPATH>= =3B/config/errorCode.xml<=3B/ERRORCODELISTPATH>=3B

 =3B <=3B/SYSTEMINFORMATION>=3B

 =3B

 =3B <=3BAPPENDER MODE=3D"tivoli" NAME=3D"Rol= lingLogFileAppender" TYPE=3D"log4net.Appender.RollingFileAppender">=3B

 =3B =3B =3B <=3BFILENAME VALUE=3D"d:= //svr_app_prod//logs//app_logs//diss//tivoli.log" />=3B

 =3B =3B =3B <=3BAPPENDTOFILE VALUE= =3D"true" />=3B

 =3B =3B =3B <=3BROLLINGSTYLE VALUE= =3D"Size" />=3B

 =3B =3B =3B <=3BMAXROLLBACKUPSIZE VA= LUE=3D"10" />=3B

 =3B =3B =3B <=3BMAXFILESIZE VALUE=3D= "10MB" />=3B

 =3B =3B =3B <=3BMAXENTRIESPERSECOND = VALUE=3D"10" />=3B

 =3B =3B =3B <=3BSTATICLOGFILENAME VA= LUE=3D"true" />=3B

 =3B =3B =3B <=3BLAYOUT TYPE=3D"log4n= et.Layout.PatternLayout">=3B

 =3B =3B =3B =3B =3B <=3BCONV= ERSIONPATTERN VALUE=3D"%date [%thread] %-5level %logger [%property{ndc}] - = %message%newline" />=3B

 =3B =3B =3B <=3B/LAYOUT>=3B

 =3B <=3B/APPENDER>=3B

 =3B

 =3B <=3BAPPENDER MODE=3D"application" NAME= =3D"RollingLogFileAppender" TYPE=3D"log4net.Appender.RollingFileAppender"&g= t=3B

 =3B =3B =3B <=3BFILENAME VALUE=3D"d:= //svr_app_prod//logs//app_logs//diss//application.log" />=3B

 =3B =3B =3B <=3BAPPENDTOFILE VALUE= =3D"true" />=3B

 =3B =3B =3B <=3BROLLINGSTYLE VALUE= =3D"Size" />=3B

 =3B =3B =3B <=3BMAXROLLBACKUPSIZE VA= LUE=3D"50" />=3B

 =3B =3B =3B <=3BMAXFILESIZE VALUE=3D= "50MB" />=3B

 =3B =3B =3B <=3BMAXENTRIESPERSECOND = VALUE=3D"10" />=3B

 =3B =3B =3B <=3BSTATICLOGFILENAME VA= LUE=3D"true" />=3B

 =3B =3B =3B <=3BLAYOUT TYPE=3D"log4n= et.Layout.PatternLayout">=3B

 =3B =3B =3B =3B =3B <=3BCONV= ERSIONPATTERN VALUE=3D"%date [%thread] %-5level %logger [%property{ndc}] - = %message%newline" />=3B

 =3B =3B =3B <=3B/LAYOUT>=3B

<=3B/APPENDER>=3B

<=3B/DataSetConfiguration>=3B

 =3B

In our application we only mention Log.Debug(=93Log= ging Information=94). =3B

 =3B

Could you please tell me how to specify the details= of the log file.

 =3B

Regards=2C

Raghuram Raichooti
_____= ___________________________________________________________________________= ________________________________

 =3B


This me= ssage is for the designated recipient only and may contain privileged=2C pr= oprietary=2C or otherwise private information. If you have received it in e= rror=2C please notify the sender immediately and delete the original. Any o= ther use of the email by you is prohibited.



Windows Li= ve Messenger: Thanks for 10 great years=97enjoy free winks and emoticons. <= a href=3D'http://clk.atdmt.com/UKM/go/157562755/direct/01/' target=3D'_new'= >Get Them Now = --_ec93eb16-30ef-472b-bbcb-a516fa4c08ce_--