Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 46245 invoked from network); 30 Oct 2008 14:01:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 14:01:12 -0000 Received: (qmail 53255 invoked by uid 500); 30 Oct 2008 14:01:17 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 53141 invoked by uid 500); 30 Oct 2008 14:01:16 -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 53130 invoked by uid 99); 30 Oct 2008 14:01:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 07:01:16 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 14:00:00 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KvY4m-00072d-L1 for log4net-user@logging.apache.org; Thu, 30 Oct 2008 07:00:40 -0700 Message-ID: <20247590.post@talk.nabble.com> Date: Thu, 30 Oct 2008 07:00:40 -0700 (PDT) From: Sriram Ranganathan To: log4net-user@logging.apache.org Subject: RE: Using log4Net from my web service (.net 2.0, C#); problem solved In-Reply-To: <96026682CD0E437593C66F3812AF16E5@celadon.celadonlabs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sriram.ranga@gmail.com References: <20244011.post@talk.nabble.com> <96026682CD0E437593C66F3812AF16E5@celadon.celadonlabs.com> X-Virus-Checked: Checked by ClamAV on apache.org The only change I made was this: I included a Global.asax file to my web service, and wrote the following line of code in the start method. That is it ... the code worked and the logging happened. *********************************************** void Application_Start(object sender, EventArgs e) { // Code that runs on application startup log4net.Config.XmlConfigurator.Configure(); } *********************************************** Thanks everyone, for listening! Cheers Sriram Ranganathan -- View this message in context: http://www.nabble.com/Using-log4Net-from-my-web-service-%28.net-2.0%2C-C-%29--nothing-happens-tp20244011p20247590.html Sent from the Log4net - Users mailing list archive at Nabble.com.