I just started using Chainsaw the other day.  It seems like a great addition
to Log4j and I hope the effort to improve it continues.

I've been playing with the zero-conf stuff, but try as I might I cannot get
at the location info or MDC data over this (it's find when reading an XML
log file).  
I have tried:
        <appender name="test_zeroconf"
class="org.apache.log4j.net.ZeroConfSocketHubAppender">
                <param name="Name" value="JI-WebApp-ZeroConf" />
                <param name="LocationInfo" value="true"/>
        </appender>

I also tried a simple socket hub appender:
        <appender name="test_sockethub"
class="org.apache.log4j.net.SocketHubAppender">
                <param name="Name" value="JI-WebApp-SocketHub" />
                <param name="Port" value="1234" />
                <param name="LocationInfo" value="true"/>
        </appender>

But I get no location info or MDC data for either (NDC data seems to work).
Has anyone managed to do this or can point me at the documentation/my
mistake?  I have a nasty feeling I'm doing something rather dumb....

Cheers,

Jason



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to