The latest versions of the network-based appenders support an
'application' property - if each of your applications define the
application property, they'll show up in their own tab - you should be
able to continue to use the receiver config listed below.

Does that help?

Scott


-----Original Message-----
From: Cerizza, Giordano [mailto:[EMAIL PROTECTED] 
Sent: Sunday, May 04, 2008 6:31 PM
To: [email protected]
Subject: loading more receivers

Hi,
I have five different independent applications that send error messages
to the same Chainsaw into one receiver and
everything works fine. In general, I have a xml file, that loads when
launching Chainsaw, that allows me to have all 
the parameters for the receiver instantiated at the start up. The code
for the receiver looks like:

   <plugin name="logFileReceiver"
class="org.apache.log4j.net.XMLSocketReceiver">
     <param name="name" value="pixelFED" />
     <param name="port" value="1970" />
     <param name="threshold" value="INFO" />
   </plugin>

Now I would like to have for each application its own receiver on the
same port.
If I'd like to have more receivers on the same port but with different
name, is there a way I can implement this via
xml config file instead of my hand? I tried by hand and it works but I
would like to automatize this process.

Thanks a lot
ciao
giordano

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

Reply via email to