geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: OpenEJB reconfiguring log4j settings in trunk?
Date Fri, 24 Aug 2007 18:14:18 GMT
Thanks for reporting this.  We'll have to find a way to disable that  
functionality.  There's some work being done on that code now, so as  
soon as those patches are committed we can add some more to make it  
so it can be disabled.

-David

On Aug 24, 2007, at 9:40 AM, Jarek Gawor wrote:

> 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