Rohit,

The version of the RemotingAppender in CVS will require minor changes to
work with log4net 1.2 beta7 (or 1.2 beta8).

To make the latest version work with beta7 you will need to make the
following changes. The using statements at the top of the file need to be
changed back to the same ones in the beta7 version of the RemotingAppender.
In the SendBufferCallback method the SystemInfo.HostName property will need
to be replaced with a call to System.Net.Dns.GetHostName() or
System.Environment.MachineName. The LoggingEvent.HostNameProperty property
needs to be replaced with the string "log4net:HostName".

Do you remember what the issues you were having with the beta8
RemotingAppender were?

Nicko

> -----Original Message-----
> From: rohit s [mailto:[EMAIL PROTECTED] 
> Sent: 20 April 2004 14:44
> To: Log4NET User
> Subject: RE: problem with RemotingAppender Calls
> 
> Hi,
>  
> We are using Log4Net Beta 1.2.7 as there is some issues in 
> RemotingAppender in Beta 1.2.8.  The file you have mentioned 
> having Version 1.3 in CVS, so can u tell me, is the file you 
> have refred in last reply can directly included in version 
> 1.2.7 or any other files are required to compile the source...
>  
> Another thing i want to know from Log4Net Team is When would 
> be New relase are due ( i hope it will be very soon)
>  
> Thanks
>  
> Rohit
> 
> Nicko Cadell <[EMAIL PROTECTED]> wrote:
> 
>       The current RemotingAppender does not deliver the 
> events asynchronously. It
>       will buffer the events but once the buffer is full it 
> will send them
>       synchronously.
>       
>       The RemotingAppender in CVS will send the events 
> asynchronously using a
>       ThreadPool worker request.
>       If you need this functionality now you can grab the 
> latest version of the
>       appender here:
>       
>       
> http://cvs.apache.org/viewcvs.cgi/logging-log4net/src/Appender
> /RemotingAppen
>       der.cs?rev=1.3&view=auto
>       
>       Cheers,
>       Nicko
>       
>       > -----Original Message-----
>       > From: rohit s [mailto:[EMAIL PROTECTED] 
>       > Sent: 29 March 2004 15:46
>       > Subject: problem with RemotingAppender Calls
>       > 
>       > 
>       > I am using Log4Net with RemotingAppender. I want a facility 
>       > of asynchronous message logging that means my client should 
>       > NOT wait till the message is getting logged by Remoting 
>       > Appender. To solve this purpose, I am thinking to use MSMQ. 
>       > But I was going thru config settings of Remoting Appender and 
>       > found one setting named "BufferSize" which says number of 
>       > events to buffer before giving it to the remote sink. 
>       > By looking at this setting, I was wondering if Remoting 
>       > Appender itself is implementing asynchronous message logging. 
>       > If this is so, then I would not be required to 
> implement MSMQ stuff. 
>       > Please confirm me regarding this that whether Remoting 
>       > Appender implements asynchronous calling mechanism or not. 
>       > 
> 
> Yahoo! India Matrimony 
> <http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.c
> om/india-matrimony/> : Find your partner online 
> <http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.
> com/india-matrimony/community.php> .
> 

Reply via email to