geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject OpenEJB reconfiguring log4j settings in trunk?
Date Fri, 24 Aug 2007 16:40:33 GMT
I think some OpenEJB code in trunk is reconfiguring the log4j
settings. For example, when I start the server (with logging enabled)
first I see nicely formatted log messages (i.e. <timestamp> <debug
level> <class> <msg>) but after some OpenEJB code is loaded the log
message format changes to <debug level> <message>.

When I enable debugging for log4j I see the following:

....
log4j: Reading configuration from URL
file:/home/jgawor/target/geronimo-tomcat6-jee5-2.1-SNAPSHOT/var/log/server-log4j.properties
...
and then
...
Reading configuration from URL
jar:file:/home/jgawor/target/geronimo-tomcat6-jee5-2.1-SNAPSHOT/repository/org/apache/openejb/openejb-core/3.0.0-SNAPSHOT/openejb-core-3.0.0-SNAPSHOT.jar!/embedded.logging.properties
...

In branches/2.0 the log4j properties file is loaded once and
everything seems to work as expected.

Jarek

Mime
View raw message