The new version of Chainsaw has some capabilities that could help. It's available at http://logging.apache.org/log4j/docs/chainsaw.html - install via the ant script available from the 'installation' section of the page.
Chainsaw provides a filtering expression syntax available for searching and building display or color filters - on anything in the event (including mdc/ndc) via a variety of operators and keywords. An explanation of the expression filtering syntax is available from Chainsaw V2's tutorial (the tutorial is available via the menu or a button on the 'welcome' tab). Hope this helps - if you have further questions feel free to ask. Scott -----Original Message----- From: Sikha, Naresh [mailto:[EMAIL PROTECTED] Sent: Fri 4/16/2004 2:31 PM To: '[EMAIL PROTECTED]' Cc: Subject: Correlating enterprise logs Hello, LOG4J. I'm attempting to correlate enterprise logs using LOG4J MDC/NDC. I've reasoned that I need the following values in every message to correlate: - Guaranteed unique session identifier (correlates many requests) - Guaranteed unique request identifier (correlates many logs in a request) - Guaranteed unique nested identifier (correlates many logs within a request that make up a context such as an EJB call or Web Service call) This all seems fine and well until I actually began to correlate - I couldn't find any easy way to make the correlation happen. So I would like to pose the following questions: - Are there graphical tools that show the flow of logging events? Across JVMs? Across multiple web requests? - What are the best practices for generating "correlation friendly" logging events? - Is there a means in LOG4J to guarantee uniqueness of logging events across JVMs? Thanks! <http://agile.schwab.com/twiki/pub/JAFI/JafiTeamImages/logo-vertical.jpg> Naresh Sikha Principal Engineer, Technology Solutions Charles Schwab & Co., Inc. 211 Main Street SF211MN-07-347 San Francisco, CA 94105-1918 W: 415-667-1286 F: 415-667-9398 E: [EMAIL PROTECTED] WARNING: All email sent to this address will be received by the Charles Schwab & Co., Inc. corporate email system and is subject to archival and review by someone other than the recipient.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
