This content has been marked as final.
Show 3 replies
-
1. Re: Log4j as a JNDI service
juha Mar 17, 2004 4:01 AM (in response to appzworm)"appzworm" wrote:
1. Is there anyway i can access the log4j service using a jndi name like we do for mail service etc
If you implement a JCA wrapper around the logging service then you will get a connection factory bound to JNDI."appzworm" wrote:
2. Also is it possible to configure application-specific logging for individual applications without touching the global conf/log4j.xml file?
You can probably figure out a way if you do #1. -
2. Re: Log4j as a JNDI service
camel Mar 17, 2004 7:10 PM (in response to appzworm)"appzworm" wrote:
2. Also is it possible to configure application-specific logging for individual applications without touching the global conf/log4j.xml file?
You can accomplish this by using a separate classloader repository for that app, or in the case of a webapp, configuring it to not use the JBoss classloader by setting the "UseJBossWebLoader" to false in jboss-service.xml for tomcat. -
3. Re: Log4j as a JNDI service
appzworm Mar 20, 2004 4:07 AM (in response to appzworm)Thanks for the information. I appreciate ur help