You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Rakesh Patel <rp...@us.nomura.com> on 2005/09/08 17:44:37 UTC
Chainsaw Tabs
I am trying to determine how i can create the proper tab identifiers in
chainsaw, here is my current scenario:
i have a chainsaw config file where i listen to 4 socket hub receivers. one
socket hub receiver connects to a port box1 and the three remaining socket hub
receivers listen to three box2 ports. the problem is i see 2 tabs: one for box1
and other for box2. what is the rule for defining tab identifiers
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration (View Source for full doctype...)>
- <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="true">
- <appender name="A2" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.SimpleLayout" />
</appender>
- <plugin name="prod-a" class="org.apache.log4j.net.SocketHubReceiver">
<param name="Host" value="box2.mycompany.com" />
<param name="Port" value="5142" />
<param name="Threshold" value="WARN" />
</plugin>
- <plugin name="prod-b" class="org.apache.log4j.net.SocketHubReceiver">
<param name="Host" value="box1.mycompany.com" />
<param name="Port" value="5420" />
<param name="Threshold" value="WARN" />
</plugin>
- <plugin name="prod-c" class="org.apache.log4j.net.SocketHubReceiver">
<param name="Host" value="box1.mycompany.com" />
<param name="Port" value="5515" />
<param name="Threshold" value="WARN" />
</plugin>
- <plugin name="prod-d" class="org.apache.log4j.net.SocketHubReceiver">
<param name="Host" value="box1.mycompany.com" />
<param name="Port" value="5606" />
<param name="Threshold" value="WARN" />
</plugin>
- <root>
<level value="debug" />
</root>
</log4j:configuration>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org