geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <fer...@frii.com>
Subject Re: Logging problems
Date Wed, 10 Nov 2004 16:34:10 GMT
Dain Sundstrom wrote:
> On Nov 5, 2004, at 1:29 PM, Dain Sundstrom wrote:
> 
>> Log4j GBeans
>>
>> Our current log4j gbeans attempt to control the creation of log 
>> objects, priories... basically the log4j configuration.  The problem I 
>> have found is any application can come along and "reset" the current 
>> log4j configuration and reinitialize the system.  I do not believe 
>> there is any way to prevent this.  It is on of those problems that 
>> everyone had control which in effect gives no one control.
>>
>> I propose that we drop all of our gbeans that try to control Log4j and 
>> instead go to a single gbean that exposes the operations of 
>> LogManager, and a log4j.xml file (as a big string).  The big string 
>> would be a persisted to somewhere like var/log4.xml.
> 
> 
> I just committed this.  We now have var/log/*-log4j.properties to 
> control the server, client and deployer logs.  I'd appreciate any feed 
> back quickly, as we are going to (try to) cut M3 tomorrow afternoon.

Any reason why the Log4J configs are using a properties file rather than 
XML?

Bruce
-- 
perl -e 'print 
unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/

Mime
View raw message