This is not entierly true... We provide a log4j.properties in run.jar which allows any component to use the Log4j classes with out having to explictly configure the system.
This allows all components to use log4j with minimal effort and makes it simple to change the configuration. There is boot strap logging config and then there is logging config for every thing else. If JBossMX wants to abstract the logging into a JMX specific logging API, fine... probably a waste, but fine. Lets just configure it to use a log4j adapter by default. Let us worry about getting minial footprints when there is a target application with concrete needs... and in the mean time design with pluggability and we will be safe for most anything that comes our way. --jason Quoting Adrian Brock <[EMAIL PROTECTED]>: > Making the JBossMX logger use log4j is easy enough. > The only problem is log4j isn't configured until > after the MBeanServer is created in ServerImpl. > This isn't a big problem since the loggers are designed > to boot with System.err and swap over to the required > logging implementation when it becomes available. > > There are also some places in the code that do > System.out directly that need fixing. > > I'll do this at the weekend. > > I'm was also looking at reducing the footprint for > embedded, while allowing functionality to be added later. > My early attempt isn't very good. The footprint is > 9k compared with 2k for common's Logger. > > Regards, > Adrian > * * * > > View thread online: > http://jboss.org/forums/thread.jsp?forum=66&thread=14612 > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
