private RemotingAppender CreateAppender(FixFlags fixFlags)
		{
			RemotingAppender appender = new RemotingAppender();
			appender.Sink = "tcp://localhost:8085/LoggingSink";
			appender.Lossy = false;
			appender.BufferSize = 1;
			appender.Fix = fixFlags;

			appender.ActivateOptions();

			return appender;
		}
Beispiel #2
0
 private IAppender CreateAppender()
 {
     RemotingAppender ra = new RemotingAppender();
     ra.Layout = new log4net.Layout.SimpleLayout();
     ra.Sink = LoggerURI;
     ra.BufferSize = 1;
     ra.Lossy = false;
     ra.ActivateOptions();
     return ra;
 }