hostname and application properties <MDC> are concatenated to determine the tab routing..you can change this in the app-wide prefs window.
By the way, socket-based appenders define the hostname property for you - that's why you see two tabs. If you use 1.3, the socketappenders have a param you can set in the config for the 'application' -----Original Message----- From: news on behalf of Rakesh Patel Sent: Thu 9/8/2005 8:44 AM To: [email protected] Subject: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
