I posted this message to the list on 2/1/2005 (I can't connect to
mail-archive.com to give you a url):

"
Myself and at least one other user on the list has gotten Chainsaw to
work using the following settings. Save this as udp.xml and load it
when Chainsaw starts:

<?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>

This is the appender:

<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>

I'm using Chainsaw v1.99.99 from September 10, 2004.
"

I deployed something to a remote server on the LAN (no firewalls
between the machines) and used these settings for the UdpAppender. The
remote machine has an IP address of 172.16.1.6 and my local machine is
172.16.1.201:

<appender name="UdpAppender" type="log4net.Appender.UdpAppender">
<localPort value="80" />
<remoteAddress value="172.16.1.201" />
<remotePort value="8080" />
<layout type="log4net.Layout.XmlLayoutSchemaLog4j">
<locationInfo value="true" />
</layout>
</appender>

I'd be interested in getting the tab thing figured out too. The log4j
list might be a better place to ask. If you get an answer I'm sure the
people on this list would be interested too.

- Ron

--- Chris Restall <[EMAIL PROTECTED]> wrote:

> 
> Ron Grabowski <rongrabowski <at> yahoo.com> writes:
> 
> > 
> > I recall using the UdpAppender to send packets to another IP
> address
> > other than 127.0.0.1.
> > 
> > Here is discussion from the log4j list about setting up tabs:
> > 
> > http://tinyurl.com/6l3uh
> >
>
http://www.mail-archive.com/log4j-user%40logging.apache.org/msg02540.html
> > 
> > - Ron
> > 
> 
> Anything different in the appender than what I have posted?  
> 
> <!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>
> 
> 
> I tried a simple 
> client using DPClient.Receive() and never get anything from the
> remote box.  
> Also, neither of the tab related links provided seem to work.
> Thanks,
> C
> 
>  
> 
> 
> 
> 
> 

Reply via email to