logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Kombiyil" <kombiy...@corp.earthlink.net>
Subject RemotingAppender Example
Date Fri, 02 Sep 2005 23:34:59 GMT
I'm trying to setup RemotingAppender in a config file, and trying to log from multiple AppDomains.
But i could not get this to work. Only the primary AppDomains logging goes through to the
Sink setup using RemoteLoggingServerPlugin. I'm using LogFileAppender in the sink to log the
buffered events.

Is there anything special which i need to take care of when doing this?

Client's config,

<?xml version="1.0" encoding="utf-8" ?>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"
<appender name="RemotingAppender" type="log4net.Appender.RemotingAppender" >
<sink value="tcp://localhost:8085/LoggingSink" />
<lossy value="false" />
<bufferSize value="95" />
<onlyFixPartialEventData value="true" />
<root><level value="ALL" />
<appender-ref ref="RemotingAppender" /></root>

View raw message