At 05:02 PM 1/22/2005, you wrote:
At 07:06 PM 1/21/2005 -0600, you wrote:
>So for 1.2 I need to use a custom repository selector from the sandbox
>and in 1.3 there is one available in the core. Is that correct?
Yup!
But there are other differences. In 1.3, the "log4j.repositorySelector"
system property is processed by LogManager, in 1.2.x that system
property has no effect. Moreover, in 1.3, ContextJNDISelector will
also configure your named repository when it creates it. In 1.2, it
will just create it leaving to you the responsibility of configuring
it.
In 1.3, you can detach a repository by name. In 1.2.x you cannot. So,
when your web-app is recycled you can shutdown and detach it whereas
in 1.2 your repository will not be recycled along with your
web-app. See also [1] o.a.l.selector.servlet.ContextDetachingSCL.
These are small differences but which sometimes can add up to make a big
difference.
[1] http://tinyurl.com/3vpm8
Oh, and I forgot to mention the internal logs generated by log4j itself.
Jake
--
Ceki G�lc�
The complete log4j manual: http://www.qos.ch/log4j/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]