MORE INFORMATION ON THIS ISSUE:  I implemented the TimedRemotingAppender class 
as demonstrated in the old thread:

http://apache-logging.6191.n7.nabble.com/Remote-Appender-td22810.html


Here is my class:

namespace Paychex.IP.Common.Logging
{
    /// <summary>
    /// http://apache-logging.6191.n7.nabble.com/Remote-Appender-td22810.html
    /// </summary>
    public class TimedRemotingAppender : RemotingAppender
    {

        public TimedRemotingAppender()
        {
            FlushPeriod = 10; // seconds
            timer = new Timer(FlushBuffer);
        }


        /// <summary>
        /// The period, in seconds, at which the buffer is sent regardless of 
being full
        /// </summary>
        public int FlushPeriod { get; set; }

        private readonly Timer timer;
        private void FlushBuffer(object state) { Flush(); }

        protected override void Append(LoggingEvent loggingEvent)
        {
            base.Append(loggingEvent);
            timer.Change(FlushPeriod * 1000, Timeout.Infinite);
        }
    }
}


I placed a breakpoint on the base.Append call, and it was hit every time I 
called log4net, so I know my
appender is getting added.  The problem is that it never makes a connection to 
the server process or
sends any log events to it.

Peter



From: Mario Santamaria [mailto:alast...@gmail.com]
Sent: Tuesday, October 15, 2013 11:14 AM
To: Log4NET Dev
Subject: Re: Remote appender client and server

no, maybe your firewall is the problem

Mario Santamaria
Desarrollo de Software
Pagustech S.R.L.
Av. Rivadavia 4260 Piso 12
Buenos Aires, Argentina
Tel: 5252-2370
0800-345-8722
www.pagustech.com<http://www.pagustech.com>
mar...@pagustech.com<mailto:mar...@pagustech.com>


The information contained in this message may be privileged, confidential and 
protected from disclosure. If the reader of this message is not the intended 
recipient, or an employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this communication in error, please notify your representative 
immediately and delete this message from your computer. Thank you.

Reply via email to