I am tinkering with some enhancements to Chainsaw that I hope will be accepted as part of the app when I'm done.
I'm adding regexp-based filtering, saved settings, colorizing filters and some other stuff. No problem so far. I'm also adding multicast support for LoggingEvents broadcast using XMLLayout and UDPAppender. Here's my problem: I want to be able to differentiate between different LoggingEvent sources (different machines or different apps running on the same machine) in the UI (I'm using a tabbedpane). However, I don't see a 'source identifier' in the LoggingEvent (or DTD). Am I missing something? I can get the IP address/name of the source machine but where would it go in the XML? I suppose I could use a MDC to store the IP address/custom identifier, if it were supported in the DTD, but it seems overkill to have to define a MDC for both the machine name and custom id on each thread when these are machine-wide (or application-wide) settings. Is there some architectural changes to log4j in the pipe that will provide this functionality or make adding these identifiers easier? I've got differentiation working right now using NDC but it's a pain to have to place the machine name in the NDC for every thread. Is there a better way or am I reinventing the wheel? Thanks, Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]