Do we have to do anything short of move the Log4jService into 
jboss-service.xml to make this happen?  The first time Category/Logger is 
loaded, it will automatically configure with log4j.properties found in 
run.jar, thus giving us logging with no real effort short of providing a 
log4j.properties file.

The only down side is that there will be short period of core system loading 
(system deployers and service controller) which will never make it in to 
sever.log, as log4j.properties has no idea where that file will be.

This might not be a big issue in the long run, as I think that we could 
probably move most of those into jboss-service.xml, once we have the service 
framework and dependency stuff fixed up.

Anyways, any reason why we need to explicitly load the root category from 
ServerImpl and not let the framework deal with that by itself?

--jason


On Wednesday 22 May 2002 03:00 pm, Scott M Stark wrote:
> The simplest solution is to simply load the root category in
> the ServerImpl code rather than create the Log4jService, and
> then add the Log4jService to the conf/jboss-service.xml core
> services setup. This does bootstrap off of the jndi.properties
> file and then reinitializes using the log4j.xml file.
>
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to