At 07:54 PM 1/18/2005, you wrote:
Do you know if Tomcat 5.0 sets the RepositorySelector?  Would I have
to use the code on that page to set the RepositorySelector?

Tomcat 5.0 does not set the RepositorySelector.

You can set the repository selector by setting the log4j.repositorySelectorClass system property. The string "JNDI" is a special value which is expanded as "org.apache.log4j.selector.ContextJNDISelector". Thus, the following two forms are equivalent.

java -Dlog4j.repositorySelectorClass=JNDI
java -Dlog4j.repositorySelectorClass=org.apache.log4j.selector.ContextJNDISelector


I hope this helps,

BTW, this is supposed to be explained in the tiny-webapp tutorial.

--
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]



Reply via email to