Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 11583 invoked from network); 12 Jul 2005 19:30:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2005 19:30:25 -0000 Received: (qmail 71102 invoked by uid 500); 12 Jul 2005 19:30:23 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 71074 invoked by uid 500); 12 Jul 2005 19:30:23 -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 71058 invoked by uid 99); 12 Jul 2005 19:30:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 12:30:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [205.215.211.75] (HELO mail.landolakes.com) (205.215.211.75) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 12 Jul 2005 12:30:20 -0700 Received: from ahpbh397.ent.lolcentral.com ([172.21.14.227]) by mail.landolakes.com (SMSSMTP 4.0.5.66) with SMTP id M2005071214243403495 for ; Tue, 12 Jul 2005 14:24:34 -0500 Received: from EXCHANGE093.ent.lolcentral.com ([172.21.14.13]) by ahpbh397.ent.lolcentral.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 Jul 2005 14:30:20 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C58718.23948467" Subject: RE: Windows Service Date: Tue, 12 Jul 2005 14:30:19 -0500 Message-ID: <67D724683F47AB4EA1B084A5B397B90A89EB58@EXCHANGE093.ent.lolcentral.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Windows Service Thread-Index: AcWHFt7AG1liY/g+QUOc03hih+R5HgAANdZg From: "Esterbrooks, Brette" To: "Log4NET User" X-OriginalArrivalTime: 12 Jul 2005 19:30:20.0211 (UTC) FILETIME=[23F46030:01C58718] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C58718.23948467 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have run into this problem when trying to log to event log. It ended up being that the user that was running log4net did not have access to log to the event log. Have you tried taking out the event log appender and seeing if the file appender is working? =20 Brette -----Original Message----- From: Wang, Jason @ Newport MacArthur [mailto:Jason.Wang@cbre.com]=20 Sent: Tuesday, July 12, 2005 2:23 PM To: 'log4net-user@logging.apache.org' Subject: Windows Service I'm having trouble getting log4net working in my Windows Service application. Root is setup to use both event log appender and rolling log file appender but nothing is logged (No exception thrown either). What is the best way to troubleshoot? =20 Thanks, =20 Jason ------_=_NextPart_001_01C58718.23948467 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
I have=20 run into this problem when trying to log to event log. It ended up being = that=20 the user that was running log4net did not have access to log to the = event=20 log. Have you tried taking out the event log appender and seeing if the = file=20 appender is working?
 
Brette
-----Original Message-----
From: Wang, Jason @ = Newport=20 MacArthur [mailto:Jason.Wang@cbre.com]
Sent: Tuesday, July = 12, 2005=20 2:23 PM
To: = 'log4net-user@logging.apache.org'
Subject:=20 Windows Service

I'm having trouble getting log4net working in = my Windows=20 Service application.  Root is setup to use both event log appender = and=20 rolling log file appender but nothing is logged  (No exception = thrown=20 either).  What is the best way to=20 troubleshoot?

 

Thanks,

 

Jason

------_=_NextPart_001_01C58718.23948467--