Hi All,

I have a two part question:

 

I recently installed Chainsaw version 2 and configured it with a UDPReciever to capture and display log4net messages.  My Chainsaw receiver configuration looks like this:

 

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">   

    <plugin name="UDPReceiver" class="org.apache.log4j.net.UDPReceiver">

       <param name="Port" value="8080" />

    </plugin>   

 </log4j:configuration>

 

And my log4Net receiver looks like this:

 

<appender name="UdpAppender" type="log4net.Appender.UdpAppender">

            <localPort value="80" />

            <remoteAddress value="127.0.0.1" />

            <remotePort value="8080" />

            <layout type="log4net.Layout.XmlLayoutSchemaLog4j">

                        <locationInfo value="true" />

            </layout>

</appender>

 

Provided I keep the remoteAddress set to the loopback “127.0.0.1”, I can view the logging information via Chainsaw on my local machine.  When I configure the UdpAppender on another machine on the same local network (no firewalls up)  to point to my IP for the remoteAddress, I never get anything in Chainsaw.  I checked with a packet sniffer and see no UDP packets being sent via the remote machine.  Am I correct to assume that the UDPAppender should be able to send UDP packets to another IP?

 

The second question is more oriented to Chainsaw version 2 – How do you create a tab for your receiver output to go to?  I see a “Create Custom _expression_” option in the UI and it brings up a dialog for a “Tab _expression_”, whatever is entered here creates a tab but the receiver output always goes to the chainsaw log tab..  Not sure how one would tell the Receiver to display in the new tab..

 

Thanks in advance,

 

Chris r

Reply via email to