logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Gawinecki ...@bydnet.pl>
Subject MDC invisible in Chainsaw
Date Fri, 24 Mar 2006 20:32:59 GMT
Why MDC entry send do Chainsaw by socket in not visible in GUI?
There is only NDC column, but I don't see MDC.

I set my MDC like this:

  MDC.put(EventsContext.AGENT_TEAM_KEY, "my-team);

Appender to send to Chainsaw:

  log4j.rootLogger = ALL,Chainsaw

  log4j.appender.Chainsaw=org.apache.log4j.net.SocketAppender
  log4j.appender.Chainsaw.remoteHost=localhost
  log4j.appender.Chainsaw.port=4445
  log4j.appender.Chainsaw.locationInfo=true
  
Chainsaw receiver is configured:

  <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE log4j:configuration >
  <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">

        <plugin name="SocketReceiver" class="org.apache.log4j.net.SocketReceiver">
                <param name="Port" value="4445"/>
        </plugin>

        <root>
                <level value="debug" />
        </root>

  </log4j:configuration>

Regards,

Maciej


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message