Events are routed to tabs based on content of the events themselves. There is a default 'tab identifier' (defined in application-wide preferences) which controls how events are initially routed to tabs.
This tab identifier relies on the expression syntax keywords (see the tutorial for details). For example, to have events route to a tab based on level (all WARN events end up on the same tab, all INFO events end up on a different tab, etc), use the tab identifier LEVEL. The default tab identifier routes events based on a combination of an 'application' property and 'hostname' property (if they are provided). You can define your own properties and change the tab identifier or add your own hostname and application properties to the events to use the default tab identifier. Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Office: 503.224.7496 Direct Line: 503.821.6482 Cell: 503.997.1367 Fax: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -----Original Message----- From: Owe Andresen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 10:35 AM To: Log4J Users List Subject: Question: How a Receiver may write to different Receiver tabs in Chainsaw Hello, i wrote a custom logfile parser. Now i would lie to open a tab in Chainsaw, like the SocketHubReceiver does. The SocketHubReceiver opens a receiver tab, its name is the server-name. I would like to do the same with my logfile-parser, so the logmessages are posted to the tab, with the name of the file. So my receiver can parse a list of files (all files in a directory), and put the message in the according receiver tab in chainsaw. How can i do this? I already searched some websites and tried some code, but somehow this wasnt successful. BR Owe --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
