|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Distinguishing interleaved log output from different sourcesHello Bernd,
We would like to be able at CEA to trace a user request to UNICORE across the components through the logs. For the moment we try to distinguish interleaved log lines of one component's logs (the gateway for instance) from different client connections. But none of the class name or thread name provided in the LOG4J configuration enable us to do that. We have seen that LOG4J provides the MDC class to provide a mapped diagnostic contexts that intends to distinguish these interleaved log lines: http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/MDC.html It would be nice if UNICORE Java components (Gateway, XUUDB and UNICOREX) can use and define this MDC. Can this be easily added? Best regards, Xavier ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Unicore-devel mailing list Unicore-devel@... https://lists.sourceforge.net/lists/listinfo/unicore-devel |
|
|
Re: Distinguishing interleaved log output from different sourceshi Xavier,
On Fr, 2009-10-23 at 14:23 +0200, DELARUELLE Xavier wrote: > Hello Bernd, > > We would like to be able at CEA to trace a user request to UNICORE > across the components through the logs. > > For the moment we try to distinguish interleaved log lines of one > component's logs (the gateway for instance) from different client > connections. But none of the class name or thread name provided in the > LOG4J configuration enable us to do that. > > We have seen that LOG4J provides the MDC class to provide a mapped > diagnostic contexts that intends to distinguish these interleaved log lines: > > http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/MDC.html > > It would be nice if UNICORE Java components (Gateway, XUUDB and > UNICOREX) can use and define this MDC. Can this be easily added? easy probably, but quite tedious :) What should go into the context? The only thing that should be available at all interesting steps is the name (DN) of the current user in UNICORE/X or the SSL peer in the gateway and XUUDB. best regards, Bernd. -- Dr. Bernd Schuller Distributed Systems and Grid Computing Juelich Supercomputing Centre, http://www.fz-juelich.de/jsc Phone: +49 246161-8736 (fax -8556) Personal blog: www.jroller.com/page/gridhaus ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Unicore-devel mailing list Unicore-devel@... https://lists.sourceforge.net/lists/listinfo/unicore-devel |
| Free embeddable forum powered by Nabble | Forum Help |