Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 40731 invoked from network); 5 Dec 2005 13:01:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Dec 2005 13:01:19 -0000 Received: (qmail 26668 invoked by uid 500); 5 Dec 2005 13:01:18 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 26603 invoked by uid 500); 5 Dec 2005 13:01:18 -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 26586 invoked by uid 99); 5 Dec 2005 13:01:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 05:01:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of naeemullah@gmail.com designates 64.233.184.192 as permitted sender) Received: from [64.233.184.192] (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 05:01:17 -0800 Received: by wproxy.gmail.com with SMTP id i28so51851wra for ; Mon, 05 Dec 2005 05:00:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NvJW2xMAJcSHR8tU6exE5ZT23WhCUd/LxmWbi5nxuotc/60leHt6mdTXnSr+OPzRJ7PgfuknepFJgIWuEW6E6gNWjFI60oR34yTatXyZTMUBLnmVLBl9tqEzvybSutU3z8PxcazBR1ycFtEICnY02QxXVAIaUNpFa1kNo/0V9xs= Received: by 10.64.53.1 with SMTP id b1mr2653195qba; Mon, 05 Dec 2005 05:00:56 -0800 (PST) Received: by 10.65.123.7 with HTTP; Mon, 5 Dec 2005 05:00:56 -0800 (PST) Message-ID: Date: Mon, 5 Dec 2005 18:00:56 +0500 From: Naeem Ullah Khan To: Log4NET User Subject: Re: MinimalLock not working In-Reply-To: <20051205122348.64929.qmail@web32202.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32122_8443146.1133787656136" References: <20051205122348.64929.qmail@web32202.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_32122_8443146.1133787656136 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Got it. Thanks On 12/5/05, Ron Grabowski wrote: > > According to Sourceforge, log4net v1.1.1 was released in 2002. Only the > current version, v1.2.9 beta, supports file locking modes. > > --- Naeem Ullah Khan wrote: > > > Hi All, > > > > I am using log4net v1.1.1.33753. I want to use single log file for > > all the > > instances of my application (if any). Thats why I am using following > > settings in my configuration file but its not working, only first > > instance > > of the application is allowing to log messages in the log file none > > others. > > > > Can anyone tell me whats wrong or what to do? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks > > Naeem Ullah Khan > > > > -- Naeem Ullah Khan ------=_Part_32122_8443146.1133787656136 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Got it.
Thanks

 
On 12/5/05, = Ron Grabowski <rongrabowsk= i@yahoo.com> wrote:
According to Sourceforge, log4ne= t v1.1.1 was released in 2002. Only the
current version, v1.2.9 beta, su= pports file locking modes.

--- Naeem Ullah Khan <na= eemullah@gmail.com> wrote:

> Hi All,
>
> I am = using log4net v1.1.1.33753. I want to use single log file for
> all t= he
> instances of my application (if any). Thats why I am using followi= ng
> settings in my configuration file but its not working, only firs= t
> instance
> of the application is allowing to log messages i= n the log file none
> others.
>
> Can anyone tell me whats wrong or what to = do?
>
> <?xml version=3D"1.0" encoding=3D"utf= -8" ?>
> <log4net>
>  <appender name= =3D"FileAppender" type=3D" log4net.Appender.FileAppender">
>   <file value= =3D"ErroLog.log" />
>   <appendToFile value= =3D"true" />
>   <lockingModel type=3D"= ;log4net.Appender.FileAppender+MinimalLock " />
>   <layout type=3D"log4net.Layout.Pat= ternLayout">
>    <conversionPattern v= alue=3D"%d [%t] %c %x - %m%n" />
>   </layo= ut>
>  </appender>
>
>  <root>
>   <level value=3D&quo= t;WARN" />
>   <appender-ref ref=3D"FileApp= ender" />
>  </root>
> </log4net>=
> Thanks
> Naeem Ullah Khan
>




--
Naeem U= llah Khan=20 ------=_Part_32122_8443146.1133787656136--