On Sep 19, 2006, at 12:04 PM, David Jencks wrote:
I think there is something strange going on with log4j configuration. To get a reasonable level of coverage in any log (console or file) I have to remove/comment out the line

log4j.logger.org.apache.geronimo.gbean.runtime.GBeanSingleReference=DE BUG

Um, this seems very fishy...


In my limited experimentation that line prevents logging just about anything else at debug (and possibly info) no matter what the "global" settings are.

But, the logging config in G is a bit temperamental as I found when I was trying to get logging for tests to work as it should when using log4j configuration.

There is some code in geronimo-kernel which will insert Log4j configuration, which negates some of the configuration that should be picked up from log4j.properties. It may be worth spending a bit of time to clean that up, maybe removing the custom injection of logging objects, and using a separate log4j-debug.properties or something along those lines to allow -v or -vv to install the desired logging config.

--jason

Reply via email to