[logback-user] Log Rotation Fails on Windows if Using JNDI
scott at telesoft.com
Fri Nov 4 16:44:33 CET 2011
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  for details. From what we discussed thus far, I think
> JNDIPropertyConverter is your best bet yet.
>  http://logback.qos.ch/manual/layouts.html#customConversionSpecifier
Telesoft Corp. | 1661 E. Camelback Rd., Suite 300 | Phoenix, AZ, 85016
*o:* (602) 308-1115**| *f:* (602) 308-1300 | *w:* www.telesoft.com
*TEM Edge Blog <http://www.telesoft.com/blog> *|*Twitter
<http://www.facebook.com/pages/Telesoft-Corp/76397971661>Join us at
Telesoft Connections 2011. Learn more now!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user