Thanks for your time Ceki. It is very much appreciated. I'll try that
and report back the results.
On 11/04/2011 12:41 AM, ceki wrote:
If you have ContextJNDISelector as discussed previously, you must use
prudent mode. With ContextJNDISelector , prudent mode is not optional
but mandatory.
You could abandon ContextJNDISelector and replace it with a servlet
filter which inserts the name of the application into the MDC. An even
better solution would be to write a custom converter, say
JNDIPropertyConverter which would lookup the application name from
JNDI and output the value found. See the docs on creating a custom
converter [1] for details. From what we discussed thus far, I think
JNDIPropertyConverter is your best bet yet.
[1] http://logback.qos.ch/manual/layouts.html#customConversionSpecifier
--
Scott Dudley
Senior Developer
Telesoft Corp. | 1661 E. Camelback Rd., Suite 300 | Phoenix, AZ, 85016
*o:* (602) 308-1115**| *f:* (602) 308-1300 | *w:* www.telesoft.com
<http://www.telesoft.com>
*TEM Edge Blog <http://www.telesoft.com/blog> *|*Twitter
<http://www.twitter.com/_Telesoft> *|*Facebook
<http://www.facebook.com/pages/Telesoft-Corp/76397971661>Join us at
Telesoft Connections 2011. Learn more now!
<http://www.telesoftconference.com>*
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user